One Logo Pool Ball
Combine · IOS API REFERENCE

ImmediateScheduler.SchedulerTimeType

struct · iOS 13.0+ · SDK 27.1

struct SchedulerTimeType

The time type used by the immediate scheduler.

Members (2)

method · iOS 13.0+

advanced

TypeScript
advanced(n: ImmediateScheduler_SchedulerTimeType_Stride): ImmediateScheduler_SchedulerTimeType
Swift declaration
func advanced(by n: ImmediateScheduler.SchedulerTimeType.Stride) -> ImmediateScheduler.SchedulerTimeType

Advances the time by the specified amount; this is meaningless in the context of an immediate scheduler. - Parameter n: The amount to advance by. The `ImmediateScheduler` ignores this value. - Returns: An empty `SchedulerTimeType`.

method · iOS 13.0+

distance

TypeScript
distance(other: ImmediateScheduler_SchedulerTimeType): ImmediateScheduler_SchedulerTimeType_Stride
Swift declaration
func distance(to other: ImmediateScheduler.SchedulerTimeType) -> ImmediateScheduler.SchedulerTimeType.Stride

Returns the distance to another immediate scheduler time; this distance is always `0` in the context of an immediate scheduler. - Parameter other: The other scheduler time. - Returns: `0`, as a `Stride`.

Skipped declarations

No declarations were skipped in this snapshot.

All Combine types →