livery_stripe_sup (livery_stripe v0.1.0)

View Source

Top supervisor.

The Stripe client is a plain value cached in persistent_term, so there are no long-lived children to supervise yet. The supervisor exists to give the application a root process and a place to hang future workers (e.g. a background event reconciler).

Summary

Functions

init/1

-spec init([]) -> {ok, {supervisor:sup_flags(), [supervisor:child_spec()]}}.

start_link()

-spec start_link() -> {ok, pid()} | {error, term()}.