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

Handler for synchronizing added child processes.

Summary

Types

Link to this type

process_startup_result()

View Source
@type process_startup_result() :: {:ok, pid()} | {:error, any()} | term()
@type t() :: %ProcessHub.Handler.ChildrenAdd.SyncHandle{
  children: [
    {ProcessHub.child_id(), ProcessHub.child_spec(),
     {ProcessHub.reply_to(), process_startup_result()}}
  ],
  hub_id: ProcessHub.hub_id()
}

Functions

@spec handle(t()) :: :ok