Skip to main content
Branch: Development

emitServerRaw

Callable

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

  • Emits specified event to server.

    Remarks

    Works only from JS (Client) to JS (Server)


    Type parameters

    • K: never