Interface FinalizationRegistryConstructor
interface FinalizationRegistryConstructor {
new FinalizationRegistryConstructornew <T>(cleanupCallback: ((heldValue: T) => void)): FinalizationRegistry<T>;
prototype: FinalizationRegistry<any>;
}
new FinalizationRegistryConstructornew <T>(cleanupCallback: ((heldValue: T) => void)): FinalizationRegistry<T>;
prototype: FinalizationRegistry<any>;
}
Index
Constructors
Properties
Constructors
constructor
- new
Finalization <T>(cleanupCallback): FinalizationRegistry<T>Registry Constructor Type Parameters
Parameters
Returns FinalizationRegistry<T>
Creates a finalization registry with an associated cleanup callback