fulfill ( value promise -- )
Promises

Prev:<promise> ( -- promise )
Next:?promise ( promise -- result )


Vocabulary
concurrency.promises

Inputs and outputs
valuean object
promisea promise


Word description
Fulfills a promise by writing a value to it. Any threads waiting for the value are notified.

Errors
Throws an error if the promise has already been fulfilled.

Definition