Interface SchedulerOptions<Result, Binding, PollingGroups>

Represents the options for the scheduler

interface SchedulerOptions<
    Result = any,
    Binding = any,
    PollingGroups extends PollingGroup = DefaultPollingGroups,
> {
    cyclesOnStats?: number;
    limiterOptions?: LimiterOptions;
    logger?: LoggerInstance;
    resources?: ResourcesConfigObject<Result, Binding, PollingGroups>;
    slowCycleRatio?: number;
}

Type Parameters

Properties

cyclesOnStats?: number

Number of cycles on stats

10
limiterOptions?: LimiterOptions

The limiter options

The logger for the scheduler

The entries for the scheduler

slowCycleRatio?: number

Number of fast cycles to run per slow cycle

3