Skip to content

createDashboard

createDashboard<TJobTypeDefinitions, TStateAdapter>(options): Promise<{ fetch: (request) => Response | Promise<Response>; }>

Defined in: dashboard.ts:98

TJobTypeDefinitions extends BaseJobTypeDefinitions

TStateAdapter extends StateAdapter<any, any>

string

Mount prefix without trailing slash (e.g. '/internal/queuert'). Defaults to '' (root).

Client<TJobTypeDefinitions, TStateAdapter>

The Queuert client the dashboard reads jobs and chains from.

Promise<{ fetch: (request) => Response | Promise<Response>; }>