An interface to standardize how objects are destroyed.
Methods
-
destroy() → (non-null) {Promise}
-
Destroys the object, releasing all resources and shutting down all operations. Returns a Promise which is resolved when destruction is complete. This Promise should never be rejected.
- Implementations:
- Source:
Returns:
- Type
- Promise