trashposs/packages/trashposs-js/markdown/trashposs-js.channelconnection.send.md
2024-04-06 22:57:52 +02:00

602 B

Home > trashposs-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