- Preparing search index...
- The search index is not available
baileys
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>