mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
12 lines
299 B
Plaintext
12 lines
299 B
Plaintext
declare abstract class Removable {
|
|
#private;
|
|
gcTime: number;
|
|
destroy(): void;
|
|
protected scheduleGc(): void;
|
|
protected updateGcTime(newGcTime: number | undefined): void;
|
|
protected clearGcTimeout(): void;
|
|
protected abstract optionalRemove(): void;
|
|
}
|
|
|
|
export { Removable };
|