@pulsecron/pulse
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -16,4 +16,4 @@ import { Job, JobAttributesData } from '../job'; | ||
} | ||
export type Processor<T extends JobAttributesData> = (job: Job<T>, done: () => void) => void | Promise<void>; | ||
export type Processor<T extends JobAttributesData> = (job: Job<T>, done: (error?: Error, result?: unknown) => void) => unknown | Promise<unknown>; | ||
export type DefineMethod = <T extends JobAttributesData>(name: string, processor: Processor<T>, options?: DefineOptions) => void; | ||
export declare const define: DefineMethod; |
{ | ||
"name": "@pulsecron/pulse", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "The modern MongoDB-powered scheduling library for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
169027