EventStream Installation

For Node.js

The reference implementation is available as futoin-eventstream npm module.

Command line:

$ yarn add futoin-eventstream 

or

$ npm install futoin-eventstream --save

Usage with Database-bound events

const { DBServiceApp } = require( 'futoin-eventstream/DBServiceApp' );

// Initialize database interfaces with "evt" name
DBAutoConfig( as, ccm, {
    evt: {},
} );

// Initialize rquired services
const evtApp = new DBEvtServiceApp( as, { ccm } );