operation
No security coverage
A toolkit for performing asynchronous operations in Drupal.
An operation bundles a group of background tasks into a single
trackable unit. Create the bundle in one call, drive it to completion
either from the browser or from a background process (cron, a dedicated
worker), and check its status — progress, errors, completion — without
piecing it together from individual queue items. A built-in progress bar
and throbber reflect the operation live, whichever side is doing the work.
Use cases
- Long-running exports, imports, or migrations driven from a form submit.
- Multi-step admin operations where the user wants to see "how far along".
- Background jobs that need to be addressable as a single unit even though they execute as many independent tasks.