Constructor
new Condition(message, fn)
Parameters:
Name | Type | Description |
---|---|---|
message | string | A descriptive error message. Should complete the sentence "Waiting [...]" |
fn | function | The condition function to evaluate on each iteration of the wait loop. |
- Source
Members
fn :function
Type:
- function
- Source
Methods
description() → {string}
- Source
Returns:
A description of this condition.
- Type:
- string