UNPKG

blazerjob

Version:

TypeScript library for scheduling, executing, and managing asynchronous tasks (custom, HTTP) with a SQLite backend.

12 lines (9 loc) 242 B
// TaskConfig interface for all supported types export type TaskType = 'http'; export interface HttpTaskConfig { url: string; method?: string; headers?: Record<string, string>; body?: any; } export type TaskConfig = HttpTaskConfig;