- useCogsMessage<Connection>(connection, handleMessage): void
Type Parameters
Connection extends default<any, Record<never, never>>
Parameters
handleMessage: ((message) => void)
- (message): void
Parameters
message: CogsClientMessage
Returns void
Returns void