Skip to content

hasPendingPluginAsyncCleanups

Checks whether a plugin has cleanups still in flight.

Import:

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

Signature:

function hasPendingPluginAsyncCleanups(pluginId: string): boolean

Parameters:

Parameter Type Description
pluginId string The plugin id.

Returns: boolean — Whether any cleanup registered under the id has not settled yet.