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

x/windmill/windmill-api/index.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.422.0/windmill-api/index.ts";

Static Methods

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

exists worker with tag

geDefaultTags(): CancelablePromise<Array<string>>

get all instance default tags

getCustomTags(): CancelablePromise<Array<string>>

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

isDefaultTagsPerWorkspace(): CancelablePromise<boolean>

is default tags per workspace

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

list workers