View Source ProcessHub.Handler.ChildrenAdd.StartHandle (ProcessHub v0.2.0-alpha)

Handler for starting child processes.

Summary

Types

@type t() :: %ProcessHub.Handler.ChildrenAdd.StartHandle{
  children: [
    %{child_spec: ProcessHub.child_spec(), reply_to: ProcessHub.reply_to()}
  ],
  dist_strategy: ProcessHub.Strategy.Distribution.Base.t(),
  dist_sup: ProcessHub.DistributedSupervisor.pname(),
  hub_id: ProcessHub.hub_id(),
  redun_strategy: ProcessHub.Strategy.Redundancy.Base.t(),
  start_opts: keyword(),
  sync_strategy: ProcessHub.Strategy.Synchronization.Base.t()
}

Functions

@spec handle(t()) :: :ok | {:error, :partitioned}