- Made context action enumerable
- Added context based approach.
- Fixed: should not emit Unhandled promise rejection when the error is actually handled
- Increased a limit of listeners to 100 for big action networks
- Fixed: should correctly detect end of stream when reader is used.
- Added reader to support async/await syntax.
- Fix: should allow registration of child actions in execute method of a main action and activate them afterwards
- Added support to add array of actions to a base action
const baseAction = new Action();
baseAction.add([
new Action(),
new Action(),
new Action()
]) // or
.add(new Action(), new Action(), new Action());
- Breaking change: action.consume(array of topics) will now return promise that will resolve to a map of resolved values instead of returning a map of promises that are not yet resolved.