- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
34 lines
812 B
TypeScript
34 lines
812 B
TypeScript
import { ParserOptions } from 'cron-parser';
|
|
/**
|
|
* Settings for repeatable jobs
|
|
*
|
|
* @see {@link https://docs.bullmq.io/guide/jobs/repeatable}
|
|
*/
|
|
export interface RepeatOptions extends Omit<ParserOptions, 'iterator'> {
|
|
/**
|
|
* A repeat pattern
|
|
*/
|
|
pattern?: string;
|
|
/**
|
|
* Number of times the job should repeat at max.
|
|
*/
|
|
limit?: number;
|
|
/**
|
|
* Repeat after this amount of milliseconds
|
|
* (`pattern` setting cannot be used together with this setting.)
|
|
*/
|
|
every?: number;
|
|
/**
|
|
* Repeated job should start right now
|
|
* ( work only with every settings)
|
|
*/
|
|
immediately?: boolean;
|
|
/**
|
|
* The start value for the repeat iteration count.
|
|
*/
|
|
count?: number;
|
|
prevMillis?: number;
|
|
offset?: number;
|
|
jobId?: string;
|
|
}
|