@tracerbench/websocket-message-transport

v2.0.0
Adapts the `ws` node module into a message transport.

@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]>
npm i @tracerbench/websocket-message-transport

Metadata

Downloads