Files
simple-mail-cleaner/backend/node_modules/bullmq/dist/esm/interfaces/advanced-options.d.ts
2026-01-22 15:49:12 +01:00

20 lines
553 B
TypeScript

import { BackoffStrategy } from '../types/backoff-strategy';
import { RepeatStrategy } from '../types/repeat-strategy';
export interface AdvancedRepeatOptions {
/**
* A custom cron strategy.
*/
repeatStrategy?: RepeatStrategy;
/**
* A hash algorithm to be used when trying to create the job redis key.
* Default - md5
*/
repeatKeyHashAlgorithm?: string;
}
export interface AdvancedOptions extends AdvancedRepeatOptions {
/**
* A custom backoff strategy.
*/
backoffStrategy?: BackoffStrategy;
}