---
title: BGContinuedProcessingTaskRequest.SubmissionStrategy.queue
framework: backgroundtasks
role: symbol
role_heading: Case
path: backgroundtasks/bgcontinuedprocessingtaskrequest/submissionstrategy/queue
---

# BGContinuedProcessingTaskRequest.SubmissionStrategy.queue

An option that queues a continuous background task to begin as soon as possible.

## Declaration

```swift
case queue
```

## Mentioned in

Performing long-running tasks on iOS and iPadOS

## Discussion

Discussion This option adds the task request to the back of a queue. The system runs the task as soon as possible. The system might be unable to run a submitted task immediately if the system is currently at the maximum level of concurrent tasks. important: The system cancels queued BGContinuedProcessingTaskRequest objects if someone closes your app using the app switcher.

## See Also

### Choosing a strategy

- [BGContinuedProcessingTaskRequest.SubmissionStrategy.fail](backgroundtasks/bgcontinuedprocessingtaskrequest/submissionstrategy/fail.md)
