Source File
Spawn.hylo
Members
Functions
fun spawn_<E: Movable & Deinitializable>(_ f: sink [E] () let -> Int) -> Future<E>
Spawns a computation and returns a future that can be used to await its completion.
fun escaping_spawn_<E: Movable & Deinitializable>(_ f: sink [E] () let -> Int) -> EscapingFuture<E>
Spawns a computation and returns a future that can be used to await its completion.