Product Type

Future

A future that cannot escape the local scope.

Members

Type Aliases

Bindings

Functions

fun await() -> Result { sink }

Awaits the result of the computation.

Initializers

init(_ f: sink [E] () let -> Int)

Initializes self with f, and spawns the computation.