Plugin-owned lifecycle API (subset of api.lifecycle).
api.lifecycle
Optional
Register a disposer run when the plugin instance is retired.
A function that unregisters the disposer.
Register named cleanup for plugin-owned background work.
Readonly
Aborted when the plugin instance is retired.
Plugin-owned lifecycle API (subset of
api.lifecycle).