Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Test.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/editor/TaskCompletionStatus.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Editor { class ServiceProviderCollection; }
11namespace Editor::Coroutine { struct TaskHandle; }
12namespace Editor::Services { class EditorPlayerCoroutineServiceProvider; }
13// clang-format on
14
15namespace Editor::Coroutine::Test {
16// functions
17// NOLINTBEGIN
18MCNAPI ::std::vector<::Editor::Coroutine::TaskHandle> queueLongRunningTasks(
19 ::Editor::Services::EditorPlayerCoroutineServiceProvider& coroutineService,
20 ::Editor::ServiceProviderCollection& providers,
21 ::std::chrono::nanoseconds duration,
22 uint taskCount,
23 ::std::chrono::nanoseconds maxStagger,
24 ::std::function<void(uint64, ::Editor::Coroutine::TaskCompletionStatus)> onComplete
25);
26// NOLINTEND
27
28} // namespace Editor::Coroutine::Test
Definition ServiceProviderCollection.h:7
Definition EditorPlayerCoroutineServiceProvider.h:23
Definition TaskHandle.h:7