<abstract> new Destroyable()
An abstract class containing utility functions for destroyable classes.
Methods
-
destroy()
-
Destructor
Returns:
- Type
- Promise.<void>
-
takeOwnership()
-
Take the ownership of this object, so that PDFNet.runWithCleanup won't destroy this object.
Returns:
- Type
- void