mirror of
https://github.com/wassname/talk.git
synced 2026-07-28 11:27:05 +08:00
Adding off method to the Stream Interface
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user