Dequeue

trait Dequeue[F[_], A]

Provides the ability to dequeue chunks of elements from a Queue as streams.

Provides the ability to dequeue chunks of elements from a Queue as streams.

class Object
trait Matchable
class Any
trait Queue[F, A]
trait InspectableQueue[F, A]

Value members

Abstract methods

def dequeueBatch: (F, Int) => A

Provides a pipe that converts a stream of batch sizes in to a stream of elements by dequeuing batches of the specified size.

Provides a pipe that converts a stream of batch sizes in to a stream of elements by dequeuing batches of the specified size.

def dequeueChunk(maxSize: Int): Stream[F, A]

Dequeues elements from the queue, ensuring elements are dequeued in chunks not exceeding maxSize.

Dequeues elements from the queue, ensuring elements are dequeued in chunks not exceeding maxSize.

Concrete methods

def dequeue: Stream[F, A]

Dequeues elements from the queue.

Dequeues elements from the queue.