If a delay
is currently processing, calling realized?
causes the caller to block until the delay has completed and then returns true.
The behaviour I would have expected is that it should return false, which is what happens with futures. After all, if you wanted to wait until it was completed, you would deref
it.
(also there don't seem to be any tags or categories related to concurrent programming, but since delay is part of clojure.core, I assume this is the correct place to ask)