Class DataEventToken<T>

Type Parameters

  • T

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

event: SimpleDataEvent<T>

This is only to get easy the event-type. In reality this property is undefined. e.g. onHttpRequest(event: typeof onHttpRequest.event) {

id: string

Methods

  • Parameters

    • callback: ((event: SimpleDataEvent<T>, ...args: any[]) => void)
        • (event: SimpleDataEvent<T>, ...args: any[]): void
        • Parameters

          • event: SimpleDataEvent<T>
          • Rest ...args: any[]

          Returns void

    • order: number = 0
    • Optional module: InjectorModule<any, InjectorModule<any, any>>

    Returns EventListener<SimpleDataEvent<T>>

Generated using TypeDoc