Class EventToken<T>

Type Parameters

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

event: 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: T, ...args: any[]) => void)
        • (event: T, ...args: any[]): void
        • Parameters

          • event: T
          • Rest ...args: any[]

          Returns void

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

    Returns EventListener<T>

Generated using TypeDoc