RegisterPluginAsyncCleanupParams
Parameters for registerPluginAsyncCleanup.
Import:
import type { RegisterPluginAsyncCleanupParams } from '@mnaoumov/obsidian-lib/plugin/plugin-async-cleanup';Signature:
export interface RegisterPluginAsyncCleanupParamsProperties
| Property | Type | Description |
|---|---|---|
| cleanup | PluginAsyncCleanup | The cleanup to run. |
| component | Component | The component whose unload starts the cleanup. |
| pluginId | string | The id of the plugin the cleanup belongs to, which the next instance waits under. |
Links to this page: