Skip to content

DEFAULT_PLUGIN_ASYNC_CLEANUP_NOTICE_DELAY_IN_MILLISECONDS

How long a new plugin instance waits for the previous instance’s cleanups, by default, before it shows a notice that its load is paused. Shorter waits show nothing, so the usual few milliseconds never flash a notice.

Import:

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

Signature:

const DEFAULT_PLUGIN_ASYNC_CLEANUP_NOTICE_DELAY_IN_MILLISECONDS: 500

Type: 500