Contents

timeoutIntervalForResource

The maximum amount of time that a resource request can use.

Declaration

var timeoutIntervalForResource: TimeInterval { get set }

Discussion

This property determines the resource timeout interval for this operation, which controls how long, in seconds, to wait for the entire operation to complete before stopping. The resource timer starts when the operation executes and counts until either the operation completes or this timeout interval occurs, whichever comes first.

The default value is 604800, the number of seconds in 7 days.

See Also

Deprecated Properties