View Source ebus_supervisor (ebus v0.3.0)

Utility module to start/work with supervisors.

Link to this section Summary

Link to this section Types

-type name() :: atom() | {global, term()} | {via, module(), term()}.
-type options() ::
    #{name => name(),
      strategy => supervisor:strategy(),
      intensity => non_neg_integer(),
      period => pos_integer()}.

Link to this section Functions

Link to this function

start_link(Children, Options)

View Source
-spec start_link([supervisor:child_spec()], options()) -> supervisor:startlink_ret().
Link to this function

start_link(Module, Arg, Options)

View Source
-spec start_link(module(), term(), options()) -> supervisor:startlink_ret().