Type Alias ClientConnectionStateChangeAction
ClientConnectionStateChangeAction: (
clientId: ClientId,
clientConnectionState: ClientConnectionState,
) => Promise<void> | void
Type declaration
- (
clientId: ClientId,
clientConnectionState: ClientConnectionState,
): Promise<void> | void Parameters
- clientId: ClientId
- clientConnectionState: ClientConnectionState
Returns Promise<void> | void
A type defining a function that handles changes in client connection state.