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.
10 lines (9 loc) • 327 B
TypeScript
import { ISubscribable } from 'ste-core';
import { IPromiseSignalHandler } from './IPromiseSignalHandler';
/**
* Models a signal. This type of events has no arguments.
* @interface ISignalHandler
* @extends {ISubscribable<ISignalHandler>}
*/
export interface IPromiseSignal extends ISubscribable<IPromiseSignalHandler> {
}