Class ConditionalVariable
Constructors
constructor
- new ConditionalVariable(sleepInterval?, maxWaitTime?): ConditionalVariable
Parameters
sleepInterval: number = 500
Optional
maxWaitTime: number
Properties
Optional
maxWaitTime
maxWaitTime?: number
sleepInterval
sleepInterval: number
Methods
clear
- clear(): void
Returns void
isDone
- isDone(): boolean
Returns boolean
notify
- notify(): void
Returns void
wait
- wait(): Promise<boolean>
Returns Promise<boolean>