intervalFn
intervalFn: ((ctx: {
firstRun: boolean;
interval: number;
}) => Promise<number | void>)
Type declaration
-
- (ctx: {
firstRun: boolean;
interval: number;
}): Promise<number | void>
-
Parameters
-
ctx: {
firstRun: boolean;
interval: number;
}
-
firstRun: boolean
-
interval: number
Returns Promise<number | void>