Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IEventEmitterEvents<H, E>

Type parameters

  • H

  • E

Hierarchy

  • IEventEmitterEvents

Index

Methods

subscribe

  • subscribe<K>(event: keyof E, handler: Iterable<keyof H | Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>>): any
  • Type parameters

    • K: keyof E

    Parameters

    • event: keyof E
    • handler: Iterable<keyof H | Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>>

    Returns any

unsubscribe

  • unsubscribe<K>(event: keyof E, handler: Iterable<keyof H | Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>>): any
  • Type parameters

    • K: keyof E

    Parameters

    • event: keyof E
    • handler: Iterable<keyof H | Handler<H, K extends any[] ? E[K[number]] : E[Extract<K, keyof E>]>>

    Returns any

Generated using TypeDoc