View Source Yggdrasil.Adapter.Bridge.Generator (Yggdrasil v6.0.3)
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.
@spec start_bridge(pid(), Yggdrasil.Channel.t(), Yggdrasil.Channel.t()) :: {:ok, pid()} | {:error, term()}
Starts a bridge subscriber with a channel and remote pid.
@spec start_link([DynamicSupervisor.option() | DynamicSupervisor.init_option()]) :: Supervisor.on_start()
Starts a bridge subscriber generator with Supervisor options.
@spec stop(Supervisor.supervisor()) :: :ok
Stops a bridge subscriber generator.