send
send: (channel: string, ...data: any[]) => void
Send a message over the socket.
@param channel - The name of the channel for the message. Must begin with the iTwinChannel prefix.
@param data - The optional data of the message.
@note data
is serialized with the Structured Clone Algorithm, so only
primitive types and ArrayBuffers
are allowed.
Defined in
- core/common/src/ipc/IpcSocket.ts Line 49
Last Updated: 13 June, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.