---
title: "schedule(options:_:)"
framework: combine
role: symbol
role_heading: Instance Method
path: "combine/immediatescheduler/schedule(options:_:)"
---

# schedule(options:_:)

Performs the action at the next possible opportunity.

## Declaration

```swift
func schedule(options: ImmediateScheduler.SchedulerOptions?, _ action: @escaping () -> Void)
```

## See Also

### Scheduling actions

- [schedule(after:interval:tolerance:options:_:)](combine/immediatescheduler/schedule(after:interval:tolerance:options:_:).md)
- [schedule(after:tolerance:options:_:)](combine/immediatescheduler/schedule(after:tolerance:options:_:).md)
