Skip to content

PLUGIN_UNLOADED_EVENT_NAME

Triggered as a plugin unloads — whether the user disabled it, uninstalled it, or Obsidian is shutting down. Its APIs are revoked by the time a listener runs.

Import:

import { PLUGIN_UNLOADED_EVENT_NAME } from '@mnaoumov/obsidian-lib/plugin/plugin-lifecycle-events';

Signature:

const PLUGIN_UNLOADED_EVENT_NAME: "obsidian-dev-utils:plugin-unloaded"

Type: “obsidian-dev-utils:plugin-unloaded”


Links to this page: