core.io-command-promised
v0.2.0
Published
Extend core.io with promised commands
Downloads
5
Readme
core.io Command Promised
This module extends core.io context object with a new method: promisedCommand
.
We can dispatch a command event and await
the command's resolution:
let response = await context.promisedCommand('api.get', event);
Install
$ npm i -S core.io-command-promised
License
® License 2020 by goliatone