Publishes either the most-recent or first element published by the upstream publisher in the specified time interval.
- iOS 13.0+Beta
- macOS 10.15+Beta
- Mac Catalyst 13.0+Beta
- tvOS 13.0+Beta
- watchOS 6.0+Beta
- Xcode 11.0+Beta
The interval at which to find and emit the most recent element, expressed in the time system of the scheduler.
The scheduler on which to publish elements.
A Boolean value that indicates whether to publish the most recent element. If
false, the publisher emits the first element received during the interval.
A publisher that emits either the most-recent or first element received during the specified interval.