tai v0.0.11 Tai.Venues.StreamsSupervisor
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Callback invoked to start the supervisor and during hot code upgrades
Link to this section Types
Link to this type
null_supervisor()
null_supervisor()
null_supervisor() :: Tai.Venues.NullStreamSupervisor
null_supervisor() :: Tai.Venues.NullStreamSupervisor
Link to this type
product()
product()
product() :: Tai.Venues.Product.t()
product() :: Tai.Venues.Product.t()
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
init(atom)
Callback invoked to start the supervisor and during hot code upgrades.
Developers typically invoke DynamicSupervisor.init/1
at the end of
their init callback to return the proper supervision flags.
Callback implementation for DynamicSupervisor.init/1
.
Link to this function
start_link(_)
Link to this function
start_stream(stream_supervisor, venue_id, accounts, products)
start_stream(stream_supervisor, venue_id, accounts, products)
start_stream(
stream_supervisor :: atom() | null_supervisor(),
venue_id :: atom(),
accounts :: map(),
products :: [product()]
) :: DynamicSupervisor.on_start_child()
start_stream( stream_supervisor :: atom() | null_supervisor(), venue_id :: atom(), accounts :: map(), products :: [product()] ) :: DynamicSupervisor.on_start_child()