CustomQueueHyperlink.CustomQueueHyperlinkConfigWithoutItemSchematypesrc/internal/customQueueHyperlink.ts:150CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>export type type CustomQueueHyperlinkConfigWithoutItemSchema<
T,
E,
R
> = Omit<
QueueHyperlinkConfigBase<T>,
"levelCount"
> &
CustomQueueLevelConfig & {
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?: CustomQueueRefill<
T,
E,
never,
R
>
}
CustomQueueHyperlinkConfigWithoutItemSchema<function (type parameter) T in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>T, function (type parameter) E in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>E, function (type parameter) R in type CustomQueueHyperlinkConfigWithoutItemSchema<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<
import QueueHyperlinkConfigBaseQueueHyperlinkConfigBase<function (type parameter) T in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>T>,
"levelCount"
> &
CustomQueueLevelConfig & {
readonly itemSchema?: undefineditemSchema?: undefined;
readonly effect: (
item: T,
ctx: EffectContext<T, never, R>
) => Effect.Effect<void, E, R>
effect: (
item: Titem: function (type parameter) T in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>T,
ctx: EffectContext<T, never, R>ctx: import EffectContextEffectContext<function (type parameter) T in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>T, never, function (type parameter) R in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>R>,
) => import EffectEffect.interface Effect<out A, out E = never, out R = never>The Effect interface defines a value that lazily describes a workflow or
job. The workflow requires some context R, and may fail with an error of
type E, or succeed with a value of type A.
When to use
Use when you need to represent a lazy, composable workflow that can require
services, fail with a typed error, or succeed with a typed value.
Details
Effect values model resourceful interaction with the outside world,
including synchronous, asynchronous, concurrent, and parallel interaction.
They use a fiber-based concurrency model, with built-in support for
scheduling, fine-grained interruption, structured concurrency, and high
scalability.
To run an Effect value, you need a Runtime, which is a type that is
capable of executing Effect values.
Effect<void, function (type parameter) E in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>E, function (type parameter) R in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>R>;
readonly onFailure?: anyonFailure?: import QueueOnFailureQueueOnFailure<function (type parameter) T in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>T, function (type parameter) E in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>E, function (type parameter) R in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>R>;
readonly refill?: CustomQueueRefill<T, E, never, R>refill?: interface CustomQueueRefill<T, E, EEnqueue, R>CustomQueueRefill<function (type parameter) T in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>T, function (type parameter) E in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>E, never, function (type parameter) R in type CustomQueueHyperlinkConfigWithoutItemSchema<T, E, R>R>;
};