Skip to content

RegisterPluginAsyncCleanupParams

Parameters for registerPluginAsyncCleanup.

Import:

import type { RegisterPluginAsyncCleanupParams } from '@mnaoumov/obsidian-lib/plugin/plugin-async-cleanup';

Signature:

export interface RegisterPluginAsyncCleanupParams

Properties

PropertyTypeDescription
cleanupPluginAsyncCleanupThe cleanup to run.
componentComponentThe component whose unload starts the cleanup.
pluginIdstringThe id of the plugin the cleanup belongs to, which the next instance waits under.

Links to this page: