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

1.0.27 • 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/messager

Weekly Downloads

20

Version

1.0.27

License

MIT

Unpacked Size

27 kB

Total Files

18

Last publish

Collaborators

  • evio