Gitility.ODB.Provider.Supervisor (Gitility v0.2.0)

Copy Markdown View Source

Internal provider supervision tree.

Child order is an invariant: the watchdog starts before the provider, so reverse-order shutdown stops the provider (and wakes native waiters) while the watchdog is still alive. The provider synchronously installs its watch during init/1, closing the corresponding startup window.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)