Manifold. Utils
(manifold v1.7.0)
Copy Markdown
Summary
Functions
A faster version of Enum.group_by with less bells and whistles.
Gets the next delay at which we should attempt to hibernate a worker or partitioner process.
Computes the partition for a given pid using :erlang.phash2/2
Partitions a bunch of pids into a tuple, of lists of pids grouped by by the result of :erlang.pash2/2
Types
Functions
A faster version of Enum.group_by with less bells and whistles.
@spec next_hibernate_delay() :: integer()
Gets the next delay at which we should attempt to hibernate a worker or partitioner process.
@spec pack_message(mode :: Manifold.pack_mode(), message :: term()) :: term()
Computes the partition for a given pid using :erlang.phash2/2
Partitions a bunch of pids into a tuple, of lists of pids grouped by by the result of :erlang.pash2/2