refactor into using config reducer

This commit is contained in:
okbel
2018-03-20 12:09:32 -03:00
parent d6fba2d515
commit 030deb1b81
7 changed files with 44 additions and 17 deletions
+8 -4
View File
@@ -3,10 +3,6 @@ export default class StreamInterface {
this._stream = stream;
}
dispatch(action) {
return this._stream.dispatch(action);
}
on(eventName, callback) {
return this._stream.emitter.on(eventName, callback);
}
@@ -26,4 +22,12 @@ export default class StreamInterface {
remove() {
return this._stream.remove();
}
enableDebug() {
return this._stream.enableDebug();
}
disableDebug() {
return this._stream.disableDebug();
}
}