WaitableConditionBase (open)
Base class for waitable condition
Syntax
LOADLIB "wh::async.whlib";
OBJECTTYPE WaitableConditionBase
Constructor
Variables
- STRING name
name of this waitable condition, for debugging purposes
Properties
- PROPERTY signalled
Whether the condition is signalled
Functions
- OBJECT FUNCTION WaitNotSignalled()
Returns a promise that be resolved when the status is or becomes not signalled
- OBJECT FUNCTION WaitSignalled()
Returns a promise that be resolved when the status is or becomes signalled