Classes
The following classes are available globally.
-
A
Scheduler
thats usesVirtualTime
to 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 TestScheduler
extension 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 moreTestScheduler
Declaration
Swift
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) public final class TestableSubscriber<Input, Failure> where Failure : Error
extension TestableSubscriber: Subscriber
extension TestableSubscriber: Cancellable