@conciergus/chat - v0.3.1
    Preparing search index...

    Interface PluginLifecycle

    Plugin lifecycle hooks

    interface PluginLifecycle {
        onLoad?: (context: PluginContext) => void | Promise<void>;
        onEnable?: (context: PluginContext) => void | Promise<void>;
        onDisable?: (context: PluginContext) => void | Promise<void>;
        onUnload?: (context: PluginContext) => void | Promise<void>;
        onConfigChange?: (
            context: PluginContext,
            newConfig: ConciergusConfig,
        ) => void | Promise<void>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    onLoad?: (context: PluginContext) => void | Promise<void>

    Called when plugin is loaded

    onEnable?: (context: PluginContext) => void | Promise<void>

    Called when plugin is enabled

    onDisable?: (context: PluginContext) => void | Promise<void>

    Called when plugin is disabled

    onUnload?: (context: PluginContext) => void | Promise<void>

    Called when plugin is unloaded

    onConfigChange?: (
        context: PluginContext,
        newConfig: ConciergusConfig,
    ) => void | Promise<void>

    Called when Conciergus configuration changes