mirror of
https://github.com/wassname/talk.git
synced 2026-08-16 11:29:31 +08:00
wip :0
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user