MCPcopy Create free account
hub / github.com/Amanieu/asyncplusplus / schedule

Function schedule

include/async++/task_base.h:414–418  ·  view source on GitHub ↗

Schedule a continuation task using its scheduler

Source from the content-addressed store, hash-verified

412
413 // Schedule a continuation task using its scheduler
414 static void schedule(task_base* parent, task_ptr t)
415 {
416 void* sched = static_cast<task_func<Sched, Func, Result>*>(t.get())->sched;
417 parent->run_continuation(*static_cast<Sched*>(sched), std::move(t));
418 }
419
420 // Free the function
421 ~task_func()

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected