mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-30 08:57:03 +00:00
17 lines
282 B
JavaScript
17 lines
282 B
JavaScript
let __MessageEvents = function() {
|
|
this.cb = function() {};
|
|
};
|
|
|
|
__MessageEvents.prototype.then = function(cb) {
|
|
this.cb = cb;
|
|
};
|
|
|
|
__MessageEvents.prototype.error = function(err) {
|
|
return err;
|
|
};
|
|
|
|
__MessageEvents.prototype.stop = function() {
|
|
this.filter.stopWatching();
|
|
};
|
|
|