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.
17 lines (16 loc) • 525 B
TypeScript
import { EventListBase } from "ste-core";
import { PromiseSignalDispatcher } from "./PromiseSignalDispatcher";
/**
* Storage class for multiple signal events that are accessible by name.
* Events dispatchers are automatically created.
*/
export declare class PromiseSignalList extends EventListBase<PromiseSignalDispatcher> {
/**
* Creates a new SignalList instance.
*/
constructor();
/**
* Creates a new dispatcher instance.
*/
protected createDispatcher(): PromiseSignalDispatcher;
}