clientlinker-flow-confighandler
v4.1.8
Published
Confighandler flow for clientlinker
Downloads
64
Readme
Clientlinker-flow-confighandler
Install
Install clientlinker
pkg
npm i clientlinker --save
Install flow pkg
npm i clientlinker-flow-confighandler --save
Usage
var clientlinker = require('clientlinker');
var linker = clientlinker({
flows: ['confighandler'],
clients: {
client: {
confighandler: {
clientHanlder: function(query, body, callback, options)
{
return Promise.resolve({result: {}});
},
}
}
}
});
linker.flow('confighandler', require('clientlinker-flow-confighandler'));
// use
linker.run('client.clientHanlder', null, {id: 13})
.then(function(){});