mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-12-01 17:44:59 +05:00
14 lines
196 B
JavaScript
14 lines
196 B
JavaScript
|
class BaseEvent {
|
||
|
constructor(options) {
|
||
|
/**
|
||
|
* @type {String}
|
||
|
*/
|
||
|
this.name = options.name;
|
||
|
/**
|
||
|
* @type {Boolean}
|
||
|
*/
|
||
|
this.once = options.once;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = BaseEvent;
|