View Source Yggdrasil.Adapter.Bridge.Generator (Yggdrasil v6.0.2)
This module generates supervised remote subscribers.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Starts a bridge subscriber with a channel
and remote pid
.
Starts a bridge subscriber generator with Supervisor
options
.
Stops a bridge subscriber generator
.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
start_bridge(pid(), Yggdrasil.Channel.t(), Yggdrasil.Channel.t()) :: {:ok, pid()} | {:error, term()}
Starts a bridge subscriber with a channel
and remote pid
.
Specs
start_link([DynamicSupervisor.option() | DynamicSupervisor.init_option()]) :: Supervisor.on_start()
Starts a bridge subscriber generator with Supervisor
options
.
Specs
stop(Supervisor.supervisor()) :: :ok
Stops a bridge subscriber generator
.