Function
spawn_(_:)
Spawns a computation and returns a future that can be used to await its completion.
fun spawn_<E: Movable & Deinitializable>(_ f: sink [E] () let -> Int) -> Future<E>
Details
The future cannot escape the current scope.
Spawns a computation and returns a future that can be used to await its completion.
fun spawn_<E: Movable & Deinitializable>(_ f: sink [E] () let -> Int) -> Future<E>
The future cannot escape the current scope.