This commit is contained in:
okbel
2018-03-16 20:16:28 -03:00
parent 7d7e3f60d3
commit 96dff8ed25
7 changed files with 41 additions and 1 deletions
@@ -3,6 +3,10 @@ export default class StreamInterface {
this._stream = stream;
}
dispatch(action) {
return this._stream.dispatch(action);
}
on(eventName, callback) {
return this._stream.emitter.on(eventName, callback);
}