ExESDB.Commanded.Adapter.SubscriptionProxySupervisor (ex_esdb_commanded v0.1.0)

Supervisor for SubscriptionProxy processes.

This supervisor ensures that SubscriptionProxy processes are restarted when they crash, and their PIDs are updated in the ExESDB store.

Summary

Functions

Returns a specification to start this module under a supervisor.

List all running proxy processes.

Start a supervised SubscriptionProxy.

Stop a supervised SubscriptionProxy.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

list_proxies()

List all running proxy processes.

start_link(init_arg)

start_proxy(metadata)

Start a supervised SubscriptionProxy.

stop_proxy(pid)

Stop a supervised SubscriptionProxy.