View Source ProcessHub.Initializer (ProcessHub v0.2.0-alpha)

The main ProcessHub initializer supervisor module.

This module is responsible for starting all the child processes of ProcessHub.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts a ProcessHub instance with all its children.

Starts a ProcessHub instance with all its children.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(hub_settings)

View Source
@spec start_link(ProcessHub.t()) :: {:ok, pid()} | {:error, term()}

Starts a ProcessHub instance with all its children.

@spec stop(atom()) :: :ok | {:error, :not_alive}

Starts a ProcessHub instance with all its children.