File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -311,12 +311,11 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
311311
312312 /**
313313 * Establishes the participant as a receiver for calls of the specified RPC method.
314- * Will overwrite any existing callback for the same method.
315314 *
316315 * @param method - The name of the indicated RPC method
317316 * @param handler - Will be invoked when an RPC request for this method is received
318317 * @returns A promise that resolves when the method is successfully registered
319- * @throws {Error } if the handler for a specific method has already been registered already
318+ * @throws {Error } If a handler for this method is already registered (must call unregisterRpcMethod first)
320319 *
321320 * @example
322321 * ```typescript
You can’t perform that action at this time.
0 commit comments