js-util

Home > rc-js-util > IDebugSharedObjectLifeCycleChecker

IDebugSharedObjectLifeCycleChecker interface

Wrapper of FinalizationRegistry for shared objects, useful for checking if the shared object was properly disposed. Available in debug contexts only.

Signature:

export interface IDebugSharedObjectLifeCycleChecker 

Methods

Method Description
markReadyForFinalize(sharedObject)  
registerFinalizationCheck(sharedObject)