@nelts/worker
TypeScript icon, indicating that this package has built-in type declarations

1.0.44 • Public • Published

@nelts/messager

messager for nelts

Usage

npm i @nelts/messager

by ts:

import { Base, Master, Worker, Agent } from '@nelts/messager';
const master = new Master<APP>(app);
const worker = new Worker<APP>(app, mpid);
const agent = new Agent<APP>(app, mpid);

[which target].receiveMessage(message, socket);

License

MIT

Copyright (c) 2019-present, yunjie (Evio) shen

Readme

Keywords

Package Sidebar

Install

npm i @nelts/worker

Weekly Downloads

81

Version

1.0.44

License

MIT

Unpacked Size

17.3 kB

Total Files

12

Last publish

Collaborators

  • evio