ste-promise-signals
Version:
Add the power of Promise Signals to your projects. They are the most bare bones implementation of an event that supports promises.
15 lines (14 loc) • 506 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PromiseSignalHandlingBase = void 0;
const ste_core_1 = require("ste-core");
const PromiseSignalList_1 = require("./PromiseSignalList");
/**
* Extends objects with signal event handling capabilities.
*/
class PromiseSignalHandlingBase extends ste_core_1.HandlingBase {
constructor() {
super(new PromiseSignalList_1.PromiseSignalList());
}
}
exports.PromiseSignalHandlingBase = PromiseSignalHandlingBase;