Skip to main content

lean_task_spawn_core

Function lean_task_spawn_core 

Source
pub unsafe fn lean_task_spawn_core(c: Obj, _prio: u32, _keep_alive: bool) -> Obj
Expand description

Runs the closure c : Unit → α (consumed) now and returns the finished task.