---
title: URLSession.DelayedRequestDisposition
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/urlsession/delayedrequestdisposition
---

# URLSession.DelayedRequestDisposition

The action to take on a delayed URL session task.

## Declaration

```swift
enum DelayedRequestDisposition
```

## Overview

Overview The values of this enumeration indicate how to handle a task with a delayed start time (as set with the earliestBeginDate property). When the task is ready to start, it calls the urlSession(_:task:willBeginDelayedRequest:completionHandler:) method of URLSessionTaskDelegate. The implementation of this method must call the provided completion handler, passing in one case of this enumeration as the first argument. If the URLSession.DelayedRequestDisposition.useNewRequest disposition is used for the first argument, the caller must also provide a new NSURLRequest as the second argument.

## Topics

### Dispositions

- [URLSession.DelayedRequestDisposition.cancel](foundation/urlsession/delayedrequestdisposition/cancel.md)
- [URLSession.DelayedRequestDisposition.continueLoading](foundation/urlsession/delayedrequestdisposition/continueloading.md)
- [URLSession.DelayedRequestDisposition.useNewRequest](foundation/urlsession/delayedrequestdisposition/usenewrequest.md)

### Initializers

- [init(rawValue:)](foundation/urlsession/delayedrequestdisposition/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Handling delayed and waiting tasks

- [urlSession(_:task:willBeginDelayedRequest:completionHandler:)](foundation/urlsessiontaskdelegate/urlsession(_:task:willbegindelayedrequest:completionhandler:).md)
- [urlSession(_:taskIsWaitingForConnectivity:)](foundation/urlsessiontaskdelegate/urlsession(_:taskiswaitingforconnectivity:).md)
