Hyperlinkv0.8.0-beta.28

QueueHyperlink

QueueHyperlink.InferQueueWorkerRequirementstypesrc/internal/queueHyperlink.ts:1296
InferQueueWorkerRequirements<C>

Service requirements for the queue worker: those declared on the effect, unioned with any declared on the optional onFailure control hook. (Observation is via the events stream — it contributes no requirements.)

models
export type InferQueueWorkerRequirements<
  C extends { readonly effect: (...args: any[]) => Effect.Effect<any, any, any> },
> = NormalizeQueueRequirements<
  Effect.Services<ReturnType<C["effect"]>> | InferQueueOnFailureRequirements<C>
>;