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

listen(server \\ Oban, channels)

View Source


listen(server(), [channel()]) :: :ok

Register the current process to receive relayed messages for the provided channels.

All messages are received as JSON and decoded before they are relayed to registered processes. Each registered process receives a three element notification tuple in the following format:

{:notification, channel :: channel(), decoded :: map()}


Register to listen for all :gossip channel messages:


Listen for messages on all channels:

Oban.Notifier.listen([:gossip, :insert, :signal])

Listen for messages when using a custom Oban name:

Oban.Notifier.listen(MyApp.MyOban, [:gossip, :insert, :signal])