Function prependOnceListener
- prependOnceListener<Name>(event, listener, 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"
Returns any
- prependOnceListener<Name>(event, listener, options?): WAJS.ev.EventEmitter<BlocklistEventTypes & CallEventTypes & ChatEventTypes & ConfigEventTypes & ConnEventTypes & GroupEventTypes & OrderEventTypes & StatusEventTypes & WebpackEvents & {
alfa: string;
beta: ((from: number, to: string) => void);
}> 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"