Returns a publisher that repeatedly emits the current date on the given interval.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 11.0+
The time interval on which to publish events. For example, a value of
0publishes an event approximately every half-second.
The allowed timing variance when emitting events. Defaults to
nil, which allows any variance.
The run loop on which the timer runs.
The run loop mode in which to run the timer.
Scheduler options passed to the timer. Defaults to
A publisher that repeatedly emits the current date on the given interval.