Oban.Registry.whereis

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

whereis(oban_name, role \\ nil)

View Source

Specs

whereis(Oban.name(), role()) :: pid() | nil

Returns the pid of a supervised Oban process, or nil if the process can't be found.

Example

Get the Oban supervisor's pid:

Oban.Registry.whereis(Oban)

Get a supervised module's pid:

Oban.Registry.whereis(Oban, Oban.Notifier)

Get the pid for a plugin:

Oban.Registry.whereis(Oban, {:plugin, MyApp.Oban.Plugin})