Finalizable
Properties
5
Properties
5Class hierarchy
Identifies an object as an instance of Finalizable class, or subclass thereof.
Identifies an object as an instance of Finalizable class, or subclass thereof.
Other
finalizer: Promise
This property can be set any time prior to calling finalize (i.e., when the
isFinalizing property goes to true). When set, this instance will await this
promise before completing the finalization process by calling doFinalize.
This property is true once the instance completes the finalize method.
This property is set to true when finalize is called.
Functions
2
Functions
2This method is called (typically by this instance or its owner) to cleanup this instance while possibly first waiting for the finalizer promise to settle. Once settled, the doFinalize method is called.