Classes
The following classes are available globally.
-
A
Schedulerthats usesVirtualTimeto schedule its tasks.A special, non thread-safe scheduler for testing operators that require a scheduler without introducing real concurrency. Faciliates a recreatable sequence of tasks executed within ‘virtual time’.
See moreDeclaration
Swift
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) public class TestSchedulerextension TestScheduler: Scheduler
-
A subscriber that keeps a time-stamped log of the events that occur during the lifetime of a subscription to an arbitrary publisher.
Initializable using the factory methods on
See moreTestSchedulerDeclaration
Swift
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) public final class TestableSubscriber<Input, Failure> where Failure : Errorextension TestableSubscriber: Subscriberextension TestableSubscriber: Cancellable
View on GitHub
Classes Reference