Oban.Registry.whereis
You're seeing just the function
whereis
, go back to Oban.Registry module for more information.
Specs
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})