QueueHyperlinkOptionsWithoutItemSchema<T, E, R>modelsQueueHyperlink.makeQueueHyperlink.Service
Source src/internal/queueHyperlink.ts:11704 lines
export type type QueueHyperlinkOptionsWithoutItemSchema<
T,
E,
R
> = {
readonly name?: string | undefined
readonly paused?: boolean | undefined
readonly autoStart?: boolean | undefined
readonly concurrency?: number | undefined
readonly rateLimit?:
| QueueHyperlinkRateLimitOptions
| undefined
readonly capacity?: number | undefined
readonly levelCount?: number | undefined
readonly takeAlgorithm?: TakeAlgorithm
readonly key?: ((item: T) => string) | undefined
readonly attempts?: number | undefined
readonly shutdownMode?:
| "drain"
| "finishActive"
| undefined
readonly itemSchema?: undefined | undefined
readonly onFailure?:
| QueueOnFailure<T, E, R>
| undefined
readonly refill?:
| QueueRefill<T, E, never, R, void>
| undefined
}
QueueHyperlinkOptionsWithoutItemSchema<function (type parameter) T in type QueueHyperlinkOptionsWithoutItemSchema<T, E, R>T, function (type parameter) E in type QueueHyperlinkOptionsWithoutItemSchema<T, E, R>E, function (type parameter) R in type QueueHyperlinkOptionsWithoutItemSchema<T, E, R>R> = type Omit<T, K extends keyof any> = {
[P in Exclude<keyof T, K>]: T[P]
}
Construct a type with the properties of T except for those in type K.
Omit<
type QueueHyperlinkConfigWithoutItemSchema<
T,
E,
R
> = QueueHyperlinkConfigBase<T> & {
readonly itemSchema?: undefined
readonly effect: (
item: T,
ctx: EffectContext<T, never, R>
) => Effect.Effect<void, E, R>
readonly onFailure?: QueueOnFailure<T, E, R>
readonly refill?: QueueRefill<T, E, never, R>
}
Queue configuration without
QueueHyperlinkConfigBase
item schema.
Enqueue helpers on
QueueHandle
and the
EffectContext
do not fail with
schema validation errors.
QueueHyperlinkConfigWithoutItemSchema<function (type parameter) T in type QueueHyperlinkOptionsWithoutItemSchema<T, E, R>T, function (type parameter) E in type QueueHyperlinkOptionsWithoutItemSchema<T, E, R>E, function (type parameter) R in type QueueHyperlinkOptionsWithoutItemSchema<T, E, R>R>,
"effect"
>;
Referenced by 1 symbols