Skip to main content
Branch: Development

emitServer

Callable

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

  • Emits specified event to server.


    Type parameters

    • K: never