trackPluginAsyncCleanup
Runs an async cleanup now and tracks it under the plugin id until it settles.
A cleanup that throws or rejects is printed and counts as settled, so a failing cleanup never stops the next instance from loading.
Import:
import { trackPluginAsyncCleanup } from '@mnaoumov/obsidian-lib/plugin/plugin-async-cleanup';Signature:
function trackPluginAsyncCleanup(params: TrackPluginAsyncCleanupParams): voidParameters:
| Parameter | Type | Description |
|---|---|---|
params |
TrackPluginAsyncCleanupParams | The parameters. |
Returns: void
Links to this page: