lavva.exalushome
Version:
Library implementing communication and abstraction layers for ExalusHome system
20 lines (19 loc) • 369 B
TypeScript
export interface IEvent {
Subscribe(handler: {
(): void;
}): void;
Unsubscribe(handler: {
(): void;
}): void;
}
export declare class Event implements IEvent {
private _log;
private handlers;
Subscribe(handler: {
(): void;
}): void;
Unsubscribe(handler: {
(): void;
}): void;
Invoke(): void;
}