Skip to content

clojure.core/deliver

View this page on ClojureDocs

Type: function Added: Clojure 1.1 Examples: 4 Runnable: 1
([promise val])

Delivers the supplied value to the promise, releasing any pending derefs. A subsequent call to deliver on a promise will have no effect.

Examples

by gstamp on . May have evaluation errors.
by neotyk on . May have evaluation errors.
by JoshAaronJones on . May have evaluation errors.
by Crowbrammer on

Note by gyim

As of Clojure 1.3 deliver does not throw an exception when it is called multiple times on the same promise. See CLJ-1038.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.