Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SakuraEngine/SakuraEngine
/ schedule
Method
schedule
modules/core/task/src/task2.cpp:451–454 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
449
}
450
451
void scheduler_t::schedule(skr::stl_function<void ()>&& function)
452
{
453
enqueue(Task(std::move(function)), -1);
454
}
455
456
void scheduler_t::schedule(skr_task_t&& task)
457
{
Callers
2
schedule
Function · 0.80
schedule
Function · 0.80
Calls
3
enqueue
Function · 0.85
Task
Class · 0.85
move
Function · 0.50
Tested by
no test coverage detected