Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/services/WorkerService.ts>WorkerService

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class WorkerService
import { WorkerService } from "https://deno.land/x/windmill@v1.394.6/windmill-api/services/WorkerService.ts";

Static Methods

existsWorkerWithTag(unnamed 0: { tag: string; }): CancelablePromise<boolean>

exists worker with tag

get all instance default tags

get all instance custom tags (tags are used to dispatch jobs to different worker groups)

getQueueMetrics(): CancelablePromise<Array<{ id: string; values: Array<{ created_at: string; value: number; }>; }>>

get queue metrics

is default tags per workspace

listWorkers(unnamed 0: { page?: number; perPage?: number; pingSince?: number; }): CancelablePromise<Array<WorkerPing>>

list workers