KnowledgeOS API Reference
    Preparing search index...

    Interface LifecycleHooks

    interface LifecycleHooks {
        onConfigure?: () => void | Promise<void>;
        onError?: (error: Error) => void | Promise<void>;
        onInitialize?: () => void | Promise<void>;
        onReady?: () => void | Promise<void>;
        onStart?: () => void | Promise<void>;
        onStop?: () => void | Promise<void>;
    }
    Index
    onConfigure?: () => void | Promise<void>
    onError?: (error: Error) => void | Promise<void>
    onInitialize?: () => void | Promise<void>
    onReady?: () => void | Promise<void>
    onStart?: () => void | Promise<void>
    onStop?: () => void | Promise<void>