ste-promise-simple-events
Version:
Add the power of Simple Events to your projects. Every event has an argument with its data. Every handler can be a promise.
8 lines (7 loc) • 316 B
TypeScript
import { IBaseEventHandling } from "ste-core";
import { IPromiseSimpleEventHandler } from "./IPromiseSimpleEventHandler";
/**
* Indicates the object is capable of handling named simple events.
*/
export interface IPromiseSimpleEventHandling<TArgs> extends IBaseEventHandling<IPromiseSimpleEventHandler<TArgs>> {
}