Hyperlinkv0.8.0-beta.28

QueueHyperlink

export type QueueHyperlinkConfigWithoutItemSchema<T, E, R> = QueueHyperlinkConfigBase<T> & {
  readonly itemSchema?: undefined;
  /**
   * Process each item. Receives a guarded {@link EffectContext} for spawning
   * derived work. The exit of this effect determines success/failure for the item;
   * the success channel is always **`void`**.
   */
  readonly effect: (item: T, ctx: EffectContext<T, never, R>) => Effect.Effect<void, E, R>;
  /** Optional inline per-error disposition. See {@link QueueOnFailure}. */
  readonly onFailure?: QueueOnFailure<T, E, R>;
  /** Optional self-refill from a source on start / drain. See {@link QueueRefill}. */
  readonly refill?: QueueRefill<T, E, never, R>;
};
Referenced by 2 symbols