Returns a list of all registered worker schemas.
Retrieves all workers that have been registered via addWorkerSchema(). Useful for debugging, documentation, or building dynamic UIs.
Array of worker schemas with their configurations
import { listWorkerSchema, addWorkerSchema } from "backtest-kit";addWorkerSchema({ workerName: "my-worker", live: true,});const workers = await listWorkerSchema();console.log(workers);// [{ workerName: "my-worker", live: true }] Copy
import { listWorkerSchema, addWorkerSchema } from "backtest-kit";addWorkerSchema({ workerName: "my-worker", live: true,});const workers = await listWorkerSchema();console.log(workers);// [{ workerName: "my-worker", live: true }]
Returns a list of all registered worker schemas.
Retrieves all workers that have been registered via addWorkerSchema(). Useful for debugging, documentation, or building dynamic UIs.