@cleotasks/core
Version:
A distributed task queue system for Node.js, inspired by Celery and BullMQ
9 lines (8 loc) • 303 B
TypeScript
import { TaskOptions } from "../types/interfaces";
interface CleoInstance {
getQueueManager(): any;
isClientModeEnabled?(): boolean;
}
export declare function initializeTaskDecorator(instance: CleoInstance): void;
export declare function task(options?: TaskOptions): MethodDecorator;
export {};