Parrhesia.Runtime (parrhesia v0.12.0)

Copy Markdown

Top-level Parrhesia supervisor.

In normal standalone use, the :parrhesia application starts this supervisor automatically. Host applications can also embed it directly under their own supervision tree:

children = [
  {Parrhesia.Runtime, name: Parrhesia.Supervisor}
]

Parrhesia currently assumes a single runtime per BEAM node and uses globally registered process names for core services.

Summary

Functions

Returns a specification to start this module under a supervisor.

Returns the list of child specifications started by the runtime supervisor.

Starts the Parrhesia runtime supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

children()

Returns the list of child specifications started by the runtime supervisor.

start_link(opts \\ [])

Starts the Parrhesia runtime supervisor.

Accepts a :name option (defaults to Parrhesia.Supervisor).