This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Provides a Promise-like construct which can evaluate from a block, or method, | |
# and causes a caller to wait until it is resolved. Raising an error will | |
# cause the object to automatically resolve to the raised error; there is no | |
# need to invoke a callback. | |
class Later | |
# Internal thread context | |
attr :context | |
# Resultant or error | |
attr :value |