Yggdrasil v5.0.2 Yggdrasil.Adapter.Bridge.Generator View Source
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
.
Link to this function
start_bridge(pid, local, remote)
View Sourcestart_bridge(pid(), Yggdrasil.Channel.t(), Yggdrasil.Channel.t()) :: {:ok, pid()} | {:error, term()}
Starts a bridge subscriber with a channel
and remote pid
.
Link to this function
start_link(options \\ [])
View Sourcestart_link([DynamicSupervisor.option() | DynamicSupervisor.init_option()]) :: Supervisor.on_start()
Starts a bridge subscriber generator with Supervisor
options
.
Stops a bridge subscriber generator
.