module Promising
A delayed-execution result, optimistically evaluated in a new thread.
@example
x = future { sleep 5; 1 + 2 } # do stuff... y = x * 2 # => 6. blocks unless 5 seconds has passed.
Constants
- VERSION
A delayed-execution result, optimistically evaluated in a new thread.
@example
x = future { sleep 5; 1 + 2 } # do stuff... y = x * 2 # => 6. blocks unless 5 seconds has passed.