<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Combine",
  "identifier" : "/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Combine"
    ],
    "preciseIdentifier" : "s:7Combine18ImmediateSchedulerV0C8TimeTypeV6StrideV"
  },
  "title" : "ImmediateScheduler.SchedulerTimeType.Stride"
}
-->

# ImmediateScheduler.SchedulerTimeType.Stride

The increment by which the immediate scheduler counts time.

```
struct Stride
```

## Topics

### Creating Scheduler Time Strides

[`init(_:)`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/init(_:))

Creates an immediate scheduler time interval from the given time interval.

[`init(exactly:)`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/init(exactly:))

Creates an immediate scheduler time interval from a binary integer type.

[`init(floatLiteral:)`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/init(floatLiteral:))

Creates an immediate scheduler time interval from a floating-point seconds value.

[`init(integerLiteral:)`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/init(integerLiteral:))

Creates an immediate scheduler time interval from an integer seconds value.

### Creating Scheduler Time Strides from Seconds

[`microseconds(_:)`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/microseconds(_:))

Converts the specified number of microseconds into an instance of this scheduler time type.

[`milliseconds(_:)`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/milliseconds(_:))

Converts the specified number of milliseconds into an instance of this scheduler time type.

[`nanoseconds(_:)`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/nanoseconds(_:))

Converts the specified number of nanoseconds into an instance of this scheduler time type.

[`seconds(_:)`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/seconds(_:)-8lm65)

Converts the specified number of seconds, as a floating-point value, into an instance of this scheduler time type.

[`seconds(_:)`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/seconds(_:)-9uwki)

Converts the specified number of seconds into an instance of this scheduler time type.

### Declaring Timekeeping Types

[`ImmediateScheduler.SchedulerTimeType.Stride.FloatLiteralType`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/FloatLiteralType)

The type used when evaluating floating-point literals.

[`ImmediateScheduler.SchedulerTimeType.Stride.IntegerLiteralType`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/IntegerLiteralType)

The type used when evaluating integer literals.

[`ImmediateScheduler.SchedulerTimeType.Stride.Magnitude`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/Magnitude-swift.typealias)

The type used for expressing the stride’s magnitude.

### Expressing Scheduler Time Strides as Seconds

[`magnitude`](/documentation/Combine/ImmediateScheduler/SchedulerTimeType/Stride/magnitude-swift.property)

The value of this time interval in seconds.



---

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)