Skip to content

Background Work ​

When a request uploads a file, return the response before a worker creates the thumbnail. Use a queued job for that unit of work, an event to notify other features that the file arrived, or a schedule for periodic cleanup.

Run a Photo Job picks up from the SQLite lesson. Send an existing photo ID to a local worker and observe how a retry works.

Run and Test Background Work ​