0.1.3 • Published 3 years ago

node-red-contrib-business-logic v0.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

BusinessLogic

What is this node for ?

This node is a bridge beetween node-red and your business logic.

How ?

This bridge provides a node which import a js.

The JS file must export a CommandBus (defined by this package).

With this CommandBus the node will be able send events and pass response inside the msg.

Exemple:

// bl.js
const { CommandBus } = require('node-red-contrib-business-logic');
const commandBus = new CommmandBus();
commandBus.addEventHandler('MyEvent', async (eventName, payload) => ...);
...
module.exports = commandBus;
0.1.2

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago