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.
12 lines (11 loc) • 635 B
TypeScript
import { HandlingBase } from "ste-core";
import { IPromiseEventHandling } from "./IPromiseEventHandling";
import { IPromiseEventHandler } from "./IPromiseEventHandler";
import { PromiseEventList } from "./PromiseEventList";
import { PromiseEventDispatcher } from "./PromiseEventDispatcher";
/**
* Extends objects with signal event handling capabilities.
*/
export declare abstract class PromiseEventHandlingBase<TSender, TArgs> extends HandlingBase<IPromiseEventHandler<TSender, TArgs>, PromiseEventDispatcher<TSender, TArgs>, PromiseEventList<TSender, TArgs>> implements IPromiseEventHandling<TSender, TArgs> {
constructor();
}