UNPKG

typed-tasks

Version:

A type-safe abstraction for Google Cloud Tasks

13 lines 557 B
import type { TaskSchedulerOptions } from "./types"; /** Configuration for tasks that only contains scheduler options */ export type TaskConfig = TaskSchedulerOptions; /** * Creates a new queue registry instance * * This registry maps queue names to their task configurations which includes * deduplication settings */ export declare function createTaskRegistry(): Map<string, TaskSchedulerOptions>; /** Type definition for a task registry */ export type TaskRegistry = ReturnType<typeof createTaskRegistry>; //# sourceMappingURL=task-registry.d.ts.map