Classes summary
Promise |
Similar to a Signal, except it only allows a value to be resolved once.
Encapsulates an unresolved value and a promise to resolve it later. Use it to
simplify communication between asyncronous processes. |
Signal |
Signals are Waitables with the concept of a 'source', a dynamic value
represented by a callable that returns either an unresolved NULL, an Exception,
or a non-NULL value. |
SignalFn_Then |
This is a class instead of a lamda function so that it can potentially be
serialized, though that also requires that the callbacks and parent Promises be
serializable as well. |
Waitable |
Abstraction for objects which can be checked (non-blocking) or waited upon to
resolve (blocking, with optional timeout). |