UNPKG

trigger.dev

Version:

A Command-Line Interface for Trigger.dev projects

14 lines (13 loc) 536 B
import type { ResolvedConfig } from "@trigger.dev/core/v3/build"; import type { CliApiClient } from "../apiClient.js"; import type { DevCommandOptions } from "../commands/dev.js"; import type { WorkerRuntime } from "./workerRuntime.js"; export type WorkerRuntimeOptions = { name: string | undefined; branch?: string; config: ResolvedConfig; args: DevCommandOptions; client: CliApiClient; dashboardUrl: string; }; export declare function startWorkerRuntime(options: WorkerRuntimeOptions): Promise<WorkerRuntime>;