future ( quot -- future )
Futures

Next:?future ( future -- value )


Vocabulary
concurrency.futures

Inputs
quota quotation with stack effect ( -- value )


Outputs
futurea future


Word description
Creates a deferred computation.

The quotation begins with an empty data stack and an empty catch stack. It inherits the caller's name stack, so dynamically scoped variables are available to the deferred computation. Data can also be passed by partial application, for example using curry or compose.

Definition