Skip to main content

promise

functionv1.1

clojure.core/promise

Available in:BBCLJ
(promise [])
Returns a promise object that can be read with deref/@, and set, once only, with deliver. Calls to deref/@ prior to delivery will block, unless the variant of deref with timeout is used. All subsequent derefs will return the same delivered value without blocking. See also - realized?.

No examples yet. Be the first to add one!