@tracerbench/websocket-message-transport
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@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]>

Readme

Keywords

none

Package Sidebar

Install

npm i @tracerbench/websocket-message-transport

Weekly Downloads

1,210

Version

2.0.0

License

BSD-2-Clause

Unpacked Size

7.42 kB

Total Files

7

Last publish

Collaborators

  • tsubomi
  • krisselden
  • lynchbomb
  • spham92