@ayezee/hold
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

hold

Reconnecting WebSocket Client for AyeZee tooling

Install

npm install @ayezee/hold

Usage

import {Hold} from "@ayezee/hold";

const socket = new Hold("wss://socket", {
  onMessage(socket, message) {
    socket.send({
      back: true,
      message,
    });
  },
});

Readme

Keywords

none

Package Sidebar

Install

npm i @ayezee/hold

Weekly Downloads

1

Version

0.0.7

License

none

Unpacked Size

5.84 kB

Total Files

4

Last publish

Collaborators

  • kocisov