Oban.Worker.to_string

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

to_string(worker)

View Source (since 2.1.0)

Specs

to_string(module() | String.t()) :: String.t()

Return a string representation of a worker module.

This is particularly useful for normalizing worker names when building custom Ecto queries.

Examples

iex> Oban.Worker.to_string(MyApp.SomeWorker)
"MyApp.SomeWorker"

iex> Oban.Worker.to_string(Elixir.MyApp.SomeWorker)
"MyApp.SomeWorker"

iex> Oban.Worker.to_string("Elixir.MyApp.SomeWorker")
"MyApp.SomeWorker"