Skip to content

Type Alias: LifecycleEvent

LifecycleEvent = "setup:complete" | "server:ready" | "shutdown"

AppKit’s plugin-lifecycle events, verbatim from PluginContext (node_modules/@databricks/appkit/.../core/plugin-context.d.ts). Re-declared structurally rather than imported because PluginContext is not in the package’s exports map (the same reason PluginContextLike exists in ./plugin).

  • setup:complete - every plugin’s setup() has resolved.
  • server:ready - the server() plugin is listening (never fires for a serverless app, e.g. the tunnel gate).
  • shutdown - the app is tearing down.