dw-client-connector
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

dw-client-connector

Usage

// initialise the client connector
DwClientConnector.init("origin-url", "host-url");

// subscribe to events
DwClientConnector.subscribe("message-name", (data) => {
    // callback
});

DwClientConnector.subscribeOnce("another-message-name", (data) => {
    // callback
});

Dependents (0)

Package Sidebar

Install

npm i dw-client-connector

Weekly Downloads

0

Version

0.2.0

License

Apache-2.0

Unpacked Size

44.5 kB

Total Files

21

Last publish

Collaborators

  • rowellx68