---
title: "advanced(by:)"
framework: combine
role: symbol
role_heading: Instance Method
path: "combine/immediatescheduler/schedulertimetype/advanced(by:)"
---

# advanced(by:)

Advances the time by the specified amount; this is meaningless in the context of an immediate scheduler.

## Declaration

```swift
func advanced(by n: ImmediateScheduler.SchedulerTimeType.Stride) -> ImmediateScheduler.SchedulerTimeType
```

## Parameters

- `n`: The amount to advance by. The ImmediateScheduler ignores this value.

## Return Value

Return Value An empty SchedulerTimeType.

## See Also

### Calculating time offsets

- [distance(to:)](combine/immediatescheduler/schedulertimetype/distance(to:).md)
