- waitFor<Name>(event, timeout?): any
Type Parameters
- Name extends
| "config.update"
| "blocklist.sync"
| "call.incoming_call"
| (keyof ChatEventTypes)
| (keyof ConnEventTypes)
| "group.participant_changed"
| "order.payment_status"
| "status.sync"
| (keyof WebpackEvents)
| "alfa"
| "beta"
Parameters
- event: Name
Optional
timeout: number
Returns any
- waitFor<Name>(event, filter?): any
Type Parameters
- Name extends
| "config.update"
| "blocklist.sync"
| "call.incoming_call"
| (keyof ChatEventTypes)
| (keyof ConnEventTypes)
| "group.participant_changed"
| "order.payment_status"
| "status.sync"
| (keyof WebpackEvents)
| "alfa"
| "beta"
Parameters
- event: Name
Optional
filter: WaitForFilter
Returns any
- waitFor<Name>(event, options?): any
Type Parameters
- Name extends
| "config.update"
| "blocklist.sync"
| "call.incoming_call"
| (keyof ChatEventTypes)
| (keyof ConnEventTypes)
| "group.participant_changed"
| "order.payment_status"
| "status.sync"
| (keyof WebpackEvents)
| "alfa"
| "beta"
Parameters
- event: Name
Optional
options: any
Returns any