Oban.insert-exclamation-mark
You're seeing just the function
insert-exclamation-mark
, go back to Oban module for more information.
Specs
insert!(name(), Oban.Job.changeset()) :: Oban.Job.t()
Similar to insert/2
, but raises an Ecto.InvalidChangesetError
if the job can't be inserted.
Example
job = Oban.insert!(MyApp.Worker.new(%{id: 1}))