JaBa/base/BaseEvent.js

15 lines
197 B
JavaScript
Raw Permalink Normal View History

class BaseEvent {
constructor(options) {
/**
* @type {String}
*/
this.name = options.name;
/**
* @type {Boolean}
*/
this.once = options.once;
}
}
2023-07-05 00:58:06 +05:00
module.exports = BaseEvent;