Polling cycle implementation supporting :round_robin, :priority, and :sorted
(kombu.utils.scheduling.round_robin_cycle, priority_cycle, sorted_cycle).
Summary
Types
@type cycle_type() :: :round_robin | :priority | :sorted
@type t() :: %Kombu.Utils.Scheduling.Cycle{items: list(), type: cycle_type()}
Functions
@spec consume(t(), non_neg_integer()) :: list()
@spec new(cycle_type() | String.t(), Enumerable.t()) :: t()
@spec update(t(), Enumerable.t()) :: t()