Handbook
Glossary
promise-fulfilled? ( promise -- ? )
Vocabulary
concurrency
.
promises
Inputs
promise
a
promise
Outputs
?
a
boolean
Word description
Tests if
fulfill
has previously been called on the promise, in which case
?promise
will return immediately without blocking.
Definition
USING:
accessors
concurrency.mailboxes
kernel
;
IN:
concurrency.promises
:
promise-fulfilled?
( promise -- ? )
mailbox>>
mailbox-empty?
not
;