LeviLamina
Loading...
Searching...
No Matches
EnableQueueForThread.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/Async.h"
7
8// auto generated forward declare list
9// clang-format off
10class TaskGroup;
11// clang-format on
12
13namespace Bedrock::Threading {
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mQueueForThreadTaskGroup;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~EnableQueueForThread() = default;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI ::Bedrock::Threading::Async<void> queue(::std::function<void()>&& callback);
32
33 MCAPI_C ::Bedrock::Threading::Async<void> queueAutoRequeue(::std::function<bool()>&& callback);
34 // NOLINTEND
35
36public:
37 // vftables
38 // NOLINTBEGIN
39 MCNAPI static void** $vftable();
40 // NOLINTEND
41};
42
43} // namespace Bedrock::Threading
Definition EnableQueueForThread.h:15
Definition TaskGroup.h:53