Skip to main content
Branch: Release Candidate

offRpc

Callable

  • offRpc<K>(rpcName: K, listener?: (...args: Parameters<ICustomServerClientRpc[K]>) => ReturnType<ICustomServerClientRpc[K]> | Promise<ReturnType<ICustomServerClientRpc[K]>>): void
  • offRpc<K>(rpcName: Exclude<K, never>, listener?: (...args: any[]) => any): void

  • Type parameters

    • K: never