View Source ProcessHub.Hub (ProcessHub v0.5.0-beta)
Summary
Functions
Returns the default event batch state.
Types
State for batched event handling.
nodes: List of nodes accumulated in the batchtimer_ref: Reference to the timer that will trigger batch processing
@type t() :: %ProcessHub.Hub{ event_batches: %{nodedown: batch_state(), cluster_join: batch_state()}, hub_id: atom(), pending_operations: %{ required(reference()) => ProcessHub.Service.RequestManager.t() }, pending_work_count: non_neg_integer(), procs: %{ initializer: pid(), task_sup: {:via, Registry, {pid(), binary()}}, dist_sup: {:via, Registry, {pid(), binary()}}, worker_queue: {:via, Registry, {pid(), binary()}}, janitor: {:via, Registry, {pid(), binary()}}, event_queue: atom() }, storage: %{misc: :ets.tid(), hook: :ets.tid()} }
Functions
Returns the default event batch state.