Queue is an asynchronous queue that can be offered to and taken from. It supports signaling that it is done or failed, and provides various backpressure strategies.
Overview
Queues in Effect provide a powerful way to coordinate between producers and consumers:- Asynchronous: Non-blocking operations with automatic suspension
- Bounded or unbounded: Control memory usage with capacity limits
- Multiple strategies: Backpressure, dropping, or sliding behaviors
- Type-safe: Full type safety for values and errors
