Skip to main content

emitRaw

Callable

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

  • Emits specified event across resources.

    Remarks

    Works only from JS resource to JS resource


    Type parameters

    • K: never