Skip to main content

Type Alias: UserScopedApp<U>

type UserScopedApp<U> = ScopedPluginMap<U> & {
  run: Promise<T>;
};

Type Declaration

run()

run<T>(fn: (kit: ScopedPluginMap<U>) => T | Promise<T>): Promise<T>;

Type Parameters

Type Parameter
T

Parameters

ParameterType
fn(kit: ScopedPluginMap<U>) => T | Promise<T>

Returns

Promise<T>

Type Parameters

Type Parameter
U extends readonly PluginData<PluginConstructor, unknown, string>[]

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs