Function: createApp()
createApp<
T>(config?):Promise<PluginMap<T>>
Auto-configuring drop-in for AppKit’s createApp: same config, same typed
plugin-export map, with autoConfigure run first.
When CreateAppConfig.interceptors are given, each is invoked with an
InterceptorContext AFTER auto-configuration computes the env and BEFORE
AppKit boots - so an interceptor can read the resolved connection, register
lifecycle handlers, and bindProcess a child. A hidden lifecycleBridge
plugin is injected so those onLifecycle handlers fire on the genuine AppKit
events; it has no exports, so the returned PluginMap is unchanged.
Type Parameters
Section titled “Type Parameters”T extends PluginData<PluginConstructor, unknown, string>[]
Parameters
Section titled “Parameters”config?
Section titled “config?”Returns
Section titled “Returns”Promise<PluginMap<T>>
Example
Section titled “Example”import { lakebase, server } from "@databricks/appkit";import { appkit } from "@dbx-tools/appkit";
const app = await appkit.createApp({ plugins: [server(), lakebase()] });