@tracerbench/protocol-connection
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@tracerbench/protocol-connection

Adapts a message transport into a devtools protocol connection.

This peer depends on devtools-protocol which defines the typing of events, requests, and responses of the devtools protocol.

API

export default function newProtocolConnection(
  attach: AttachMessageTransport,
  newEventEmitter: NewEventEmitter,
  debug: DebugCallback,
): ProtocolConnection;

The types are declared in types.d.ts

Readme

Keywords

none

Package Sidebar

Install

npm i @tracerbench/protocol-connection

Weekly Downloads

2,415

Version

2.0.0

License

BSD-2-Clause

Unpacked Size

63.3 kB

Total Files

20

Last publish

Collaborators

  • tsubomi
  • krisselden
  • lynchbomb
  • spham92