• Returns an array of listeners for the specified event. This array can be manipulated, e.g. to remove listeners.

    Type Parameters

    • Name extends "blocklist.sync" | "call.incoming_call" | (keyof ChatEventTypes) | "config.update" | (keyof ConnEventTypes) | "group.participant_changed" | "order.payment_status" | "status.sync" | (keyof WebpackEvents) | "alfa" | "beta"

    Parameters

    • Optional event: Name

    Returns ListenerFn[]