magnetar/fe_calckey/frontend/calckey-js/markdown/calckey-js.channelconnectio...

568 B

Home > calckey-js > ChannelConnection > send

ChannelConnection.send() method

Signature:

send<T extends keyof Channel["receives"]>(
		type: T,
		body: Channel["receives"][T],
	): void;

Parameters

Parameter Type Description
type T
body Channel["receives"][T]

Returns:

void