papi-dts
    Preparing search index...

    Variable createNetworkEventEmitterConst

    createNetworkEventEmitter: <T>(eventType: string) => PlatformEventEmitter<T>

    Creates an event emitter that works properly over the network. Other connections receive this event when it is emitted.

    WARNING: You can only create a network event emitter once per eventType to prevent hijacked event emitters.

    Type declaration

      • <T>(eventType: string): PlatformEventEmitter<T>
      • Type Parameters

        • T

        Parameters

        • eventType: string

          Unique network event type for coordinating between connections

        Returns PlatformEventEmitter<T>

        Event emitter whose event works between connections