UNPKG

ste-promise-events

Version:

Add the power of Events to your projects. They are styled after .Net using a sender and arguments. Handlers can be promises.

15 lines (14 loc) 498 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PromiseEventHandlingBase = void 0; const ste_core_1 = require("ste-core"); const PromiseEventList_1 = require("./PromiseEventList"); /** * Extends objects with signal event handling capabilities. */ class PromiseEventHandlingBase extends ste_core_1.HandlingBase { constructor() { super(new PromiseEventList_1.PromiseEventList()); } } exports.PromiseEventHandlingBase = PromiseEventHandlingBase;