Skip to main content
Branch: Release Candidate

emitAllClients

Callable

  • emitAllClients<K>(eventName: K, ...args: Parameters<ICustomServerClientEvent[K]>): void
  • emitAllClients<K>(eventName: Exclude<K, never>, ...args: any[]): void

  • Emits specified event to all clients.


    Type parameters

    • K: never