effect-io-ai

Package: effect
Module: Queue

Queue.shutdown

Interrupts any fibers that are suspended on offer or take. Future calls to offer* and take* will be interrupted immediately.

Signature

declare const shutdown: <A>(self: Dequeue<A> | Enqueue<A>) => Effect.Effect<void>

Source

Since v2.0.0