SignalingClient.off() Overload 1
DESCRIPTION
Remove a singling message listener.
DECLARATION
off(target: "message", f: (message: JSONValue) => Promise<void>): void
PARAMETERS
target:
- should be "message".
f:
- the callback function to remove.
Overload 2
DESCRIPTION
Remove a connection reconnect listener.
DECLARATION
off(target: "connectionreconnect", f: () => void): void
PARAMETERS
target:
- should be "connectionreconnect".
f:
- the callback function to remove.
Overload 3
DESCRIPTION
Remove listener for connection state changes.
DECLARATION
off(target: "connectionstatechange", f: () => void): void
PARAMETERS
target:
- should be "connectionstatechange".
f:
- the callback function to remove.
Overload 4
DESCRIPTION
remove listener for channel state changes.
DECLARATION
off(target: "channelstatechange", f: () => void): void
PARAMETERS
target:
- should be "channelstatechange".
f:
- the callback function to remove.
Overload 5
DESCRIPTION
Remove listener for signaling errors.
DECLARATION
off(target: "error", f: (err: unknown) => void): void
PARAMETERS
target:
- should be "error".
f:
- the callback function to remove.