protocol | since v0.0-927 | ![]() | 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."))