UNPKG

badman-core

Version:

badman-core is the layer what all the badman packages depended,or can be used as a tool kit.

19 lines 421 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * 事件驱动根接口 */ class EventObject { constructor(source) { this.source = source; this.timestamp = +Date.now(); } get getSource() { return this.source; } get getTimestamp() { return this.timestamp; } } exports.default = EventObject; //# sourceMappingURL=EventObject.js.map