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.

8 lines (7 loc) 303 B
import { IBaseEventHandling } from "ste-core"; import { IPromiseEventHandler } from "./IPromiseEventHandler"; /** * Indicates the object is capable of handling named events. */ export interface IPromiseEventHandling<TSender, TArgs> extends IBaseEventHandling<IPromiseEventHandler<TSender, TArgs>> { }