ExESDBGater.PubSubManager (ex_esdb_gater v0.8.0)

Local override of BCUtils.PubSubManager that ensures unique child spec IDs. Also fixes incorrect pid checking logic.

Summary

Functions

Returns a child spec for Phoenix.PubSub if not already started, otherwise nil. Each child spec has a unique ID based on the pubsub name.

Functions

maybe_child_spec(pubsub_name)

@spec maybe_child_spec(atom()) :: Supervisor.child_spec() | nil

Returns a child spec for Phoenix.PubSub if not already started, otherwise nil. Each child spec has a unique ID based on the pubsub name.