UNPKG

@sidequest/engine

Version:

@sidequest/engine is the core engine of SideQuest, a distributed background job processing system for Node.js and TypeScript.

11 lines (8 loc) 347 B
import { Backend } from '@sidequest/backend'; /** * Deletes finished jobs older than one month from the backend. * @param backend The backend instance to operate on. * @param cutoffMs The cutoff time in milliseconds. */ declare function cleanupFinishedJobs(backend: Backend, cutoffMs: number): Promise<void>; export { cleanupFinishedJobs };