Interface PitcherInterface

interface PitcherInterface {
    API: PitcherAPI;
    emit<Key extends EventKey<PitcherEventMap>>(
        eventName: Key,
        params: PitcherEventMap[Key],
    ): void;
    off<Key extends EventKey<PitcherEventMap>>(
        eventName: Key,
        fn: EventReceiver<PitcherEventMap[Key]>,
    ): void;
    on<Key extends EventKey<PitcherEventMap>>(
        eventName: Key,
        fn: EventReceiver<PitcherEventMap[Key]>,
    ): void;
}

Hierarchy (View Summary)

Properties

Methods

Properties

Methods