mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 13:55:45 +00:00
18 lines
283 B
JavaScript
18 lines
283 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();
|
|
};
|
|
|