2022-11-14 16:35:47 +01:00
|
|
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
2022-12-22 12:08:00 +01:00
|
|
|
export interface ISignal<T = void> {
|
|
|
|
on(handler: (data?: T) => void, thisArg: any): void;
|
|
|
|
off(handler: (data?: T) => void): void;
|
2022-11-08 11:42:14 +01:00
|
|
|
}
|