onEnqueued

open fun onEnqueued(job: JobInfo)(source)

The job was accepted into the queue.

It arrives before the job is handed to the platform, so it always precedes onStarted. If handing over then fails, the exception surfaces from the enqueue call and no further event follows for that job.