Oban.Registry.via

You're seeing just the function via, go back to Oban.Registry module for more information.
Link to this function

via(oban_name, role \\ nil, value \\ nil)

View Source

Specs

via(Oban.name(), role(), value()) :: {:via, Registry, {Oban.Registry, key()}}

Build a via tuple suitable for calls to a supervised Oban process.

Example

For an Oban supervisor:

Oban.Registry.via(Oban)

For a supervised module:

Oban.Registry.via(Oban, Oban.Notifier)

For a plugin:

Oban.Registry.via(Oban, {:plugin, Oban.Plugins.Cron})