PriorityOptionsWithoutItemSchema<T, E, R>models
Source src/WorkPool.ts:1102 lines
export type type PriorityOptionsWithoutItemSchema<T, E, R> = {
readonly laneCount: number;
readonly name?: string | undefined;
readonly paused?: boolean | undefined;
readonly autoStart?: boolean | undefined;
readonly concurrency?: number | undefined;
readonly rateLimit?: WorkPoolRateLimitOptions | undefined;
readonly capacity?: number | undefined;
readonly takeAlgorithm?: TakeAlgorithm | undefined;
readonly key?: ((item: T) => string) | undefined;
readonly attempts?: number | undefined;
readonly shutdownMode?: "drain" | "finishActive" | undefined;
readonly namedLanes?: Record<string, number> | undefined;
readonly defaultLevel?: number | undefined;
readonly itemSchema?: undefined | undefined;
readonly onFailure?: QueueOnFailure<...> | undefined;
readonly refill?: WorkPoolPriorityRefill<...> | undefined;
}
PriorityOptionsWithoutItemSchema<function (type parameter) T in type PriorityOptionsWithoutItemSchema<T, E, R>T, function (type parameter) E in type PriorityOptionsWithoutItemSchema<T, E, R>E, function (type parameter) R in type PriorityOptionsWithoutItemSchema<T, E, R>R> =
type WorkPoolPriorityOptionsWithoutItemSchema<T, E, R> = {
readonly laneCount: number;
readonly name?: string | undefined;
readonly paused?: boolean | undefined;
readonly autoStart?: boolean | undefined;
readonly concurrency?: number | undefined;
readonly rateLimit?: WorkPoolRateLimitOptions | undefined;
readonly capacity?: number | undefined;
readonly takeAlgorithm?: TakeAlgorithm | undefined;
readonly key?: ((item: T) => string) | undefined;
readonly attempts?: number | undefined;
readonly shutdownMode?: "drain" | "finishActive" | undefined;
readonly namedLanes?: Record<string, number> | undefined;
readonly defaultLevel?: number | undefined;
readonly itemSchema?: undefined | undefined;
readonly onFailure?: QueueOnFailure<...> | undefined;
readonly refill?: WorkPoolPriorityRefill<...> | undefined;
}
WorkPoolPriorityOptionsWithoutItemSchema<function (type parameter) T in type PriorityOptionsWithoutItemSchema<T, E, R>T, function (type parameter) E in type PriorityOptionsWithoutItemSchema<T, E, R>E, function (type parameter) R in type PriorityOptionsWithoutItemSchema<T, E, R>R>;