ste-core
Version:
Core files for the Strongly Typed Events project.
22 lines (21 loc) • 413 B
TypeScript
/**
* Manages the event.
*
* @export
* @interface IEventManagement
*/
export interface IEventManagement {
/**
* Unsubscribe the current handler.
*
* @memberOf IEventManagement
*/
unsub(): void;
/**
* Stops the propagation of the event.
* Cannot be used when async dispatch is done.
*
* @memberof IEventManagement
*/
stopPropagation(): void;
}