@tracerbench/websocket-message-transport
Adapts the ws
node module into a message transport.
export default async function openWebSocket(
url: string,
raceCancellation?: RaceCancellation,
): Promise<[AttachMessageTransport, CloseWebSocket]>
Adapts the ws
node module into a message transport.
export default async function openWebSocket(
url: string,
raceCancellation?: RaceCancellation,
): Promise<[AttachMessageTransport, CloseWebSocket]>
npm i @tracerbench/websocket-message-transport
1,210
2.0.0
BSD-2-Clause
7.42 kB
7