Parent

Namespace

Files

Lazy::Promise

Promise

A handle for a promised computation. They are transparent, so that in most cases, a promise can be used as a proxy for the computation's result object. The one exception is truth testing -- a promise will always look true to Ruby, even if the actual result object is nil or false.

If you want to test the result for truth, get the unwrapped result object via Kernel.demand.

Constants

DIVERGES

Create this once here, rather than creating a proc object for every evaluation.

[Validate]

Generated with the Darkfish Rdoc Generator 2.