Function

spawn_(_:)

Spawns a computation and returns a future that can be used to await its completion.

Source
fun spawn_<E: Movable & Deinitializable>(_ f: sink [E] () let -> Int) -> Future<E>

Details

The future cannot escape the current scope.