<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKPreferences/InactiveSchedulingPolicy-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:@E@WKInactiveSchedulingPolicy"
  },
  "title" : "WKPreferences.InactiveSchedulingPolicy"
}
-->

# WKPreferences.InactiveSchedulingPolicy

An enumeration that lists policies for how a web view that’s not in a window handles tasks.

```
enum InactiveSchedulingPolicy
```

## Topics

### Scheduling policies

[`case none`](/documentation/WebKit/WKPreferences/InactiveSchedulingPolicy-swift.enum/none)

A policy where a web view that’s not in a window runs tasks normally.

[`case suspend`](/documentation/WebKit/WKPreferences/InactiveSchedulingPolicy-swift.enum/suspend)

A policy where a web view that’s not in a window fully suspends tasks.

[`case throttle`](/documentation/WebKit/WKPreferences/InactiveSchedulingPolicy-swift.enum/throttle)

A policy where a web view that’s not in a window limits processing, but does not fully suspend tasks.

### Initializers

[`init?(rawValue: Int)`](/documentation/WebKit/WKPreferences/InactiveSchedulingPolicy-swift.enum/init(rawValue:))

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)