• EventHandler that is typed with the games event buses

    Type Parameters

    Parameters

    • emitter: E
    • event: K
    • Optional priority: number

    Returns ((host: any, property2: string | number | symbol, descriptor: TypedPropertyDescriptorFunctionAnyNOfParams<Handler<EventBus, EventBuses, E, K>>) => void)

      • (host: any, property2: string | number | symbol, descriptor: TypedPropertyDescriptorFunctionAnyNOfParams<Handler<EventBus, EventBuses, E, K>>): void
      • Parameters

        • host: any
        • property2: string | number | symbol
        • descriptor: TypedPropertyDescriptorFunctionAnyNOfParams<Handler<EventBus, EventBuses, E, K>>

        Returns void

  • Type Parameters

    • E extends HostOrHostClass

    • K extends string | number | symbol

    Parameters

    • emitter: E
    • event: K
    • Optional priority: number

    Returns ((host: any, property2: string | number | symbol, descriptor: TypedPropertyDescriptorFunctionAnyNOfParams<Handler<EventBus, EventBuses, IEventEmitterHost<Events<E>>, K>>) => void)

      • (host: any, property2: string | number | symbol, descriptor: TypedPropertyDescriptorFunctionAnyNOfParams<Handler<EventBus, EventBuses, IEventEmitterHost<Events<E>>, K>>): void
      • Parameters

        • host: any
        • property2: string | number | symbol
        • descriptor: TypedPropertyDescriptorFunctionAnyNOfParams<Handler<EventBus, EventBuses, IEventEmitterHost<Events<E>>, K>>

        Returns void

Generated using TypeDoc