Adding off method to the Stream Interface

This commit is contained in:
okbel
2018-03-17 18:55:39 -03:00
parent 0209cc5b13
commit 40782a5d0b
@@ -11,6 +11,10 @@ export default class StreamInterface {
return this._stream.emitter.on(eventName, callback);
}
off(eventName, callback) {
return this._stream.emitter.off(eventName, callback);
}
login(token) {
return this._stream.login(token);
}