protocol | since v0.0-927 | clojure.lang/IPending | Edit |
Protocol for types which can have a deferred realization. Currently only implemented by Delay and LazySeq.
(defprotocol IPending
(^boolean -realized? [x]
"Returns true if a value for x has been produced, false otherwise."))