Function bindWaitForEvent
- bindWaitForEvent<T>(ev, event): ((check, timeoutMs?) => Promise<void>)
Returns ((check, timeoutMs?) => Promise<void>)
- (check, timeoutMs?): Promise<void>
Parameters
check: ((u) => undefined | boolean)
- (u): undefined | boolean
Returns undefined | boolean
Optional
timeoutMs: number
Returns Promise<void>