Vocabulary
concurrency.futures

Inputs
futurea future
timeouta duration or f


Outputs
valuean object


Word description
Waits for a deferred computation to complete, blocking indefinitely if timeout is f, otherwise waiting up to the timeout before throwing an error.

Errors
Throws an error if the timeout expires before the computation completes. Also throws an error if the future quotation threw an error.

Definition