Function advance(to:)
public func advance(to instant: SchedulerTimeType)
Advances the scheduler to the given instant.
Parameters
Name | Type | Description |
---|---|---|
instant | SchedulerTimeType |
An instant in time to advance to. |
@MainActor
public func advance(to instant: SchedulerTimeType)
Advances the scheduler to the given instant.
Parameters
Name | Type | Description |
---|---|---|
instant | SchedulerTimeType |
An instant in time to advance to. |