Handbook
Glossary
?promise ( promise -- result )
Promises
Prev:
fulfill ( value promise -- )
Next:
?promise-timeout ( promise timeout -- result )
Vocabulary
concurrency
.
promises
Inputs
promise
a
promise
Outputs
result
an
object
Word description
Waits for another thread to fulfill a promise, returning immediately if the promise has already been fulfilled.
Definition
IN:
concurrency.promises
:
?promise
( promise -- result )
f
?promise-timeout
;