Skip to main content
Branch: Development

emit

Callable

  • emit<K>(eventName: K, ...args: Parameters<ICustomEmitEvent[K]>): void
  • emit<K>(eventName: Exclude<K, keyof IClientEvent>, ...args: any[]): void

  • Emits specified event across resources.


    Type parameters

    • K: never