RxSwift
-
A type-erased
ObserverType
.Forwards operations to an arbitrary underlying observer with the same
See moreElement
type, hiding the specifics of the underlying observer type.Declaration
Swift
public struct AnyObserver<Element> : ObserverType
-
Represents disposable resource with state tracking.
See moreDeclaration
Swift
public protocol Cancelable : Disposable
-
Represents an observable sequence wrapper that can be connected and disconnected from its underlying observable sequence.
See moreDeclaration
Swift
public protocol ConnectableObservableType : ObservableType
-
Represents a disposable resource.
See moreDeclaration
Swift
public protocol Disposable
-
Declaration
Swift
public enum Event<Element>
-
Represents an observable sequence of elements that have a common key.
See moreDeclaration
Swift
public struct GroupedObservable<Key, Element> : ObservableType
-
Represents an object that immediately schedules units of work.
See moreDeclaration
Swift
public protocol ImmediateSchedulerType
-
Declaration
Swift
public class Observable<Element> : ObservableType
-
Type that can be converted to observable sequence (
See moreObservable<E>
).Declaration
Swift
public protocol ObservableConvertibleType
-
Represents a push style sequence.
See moreDeclaration
Swift
public protocol ObservableType : ObservableConvertibleType
-
Supports push-style iteration over an observable sequence.
See moreDeclaration
Swift
public protocol ObserverType
-
Use
Reactive
proxy as customization point for constrained protocol extensions.General pattern would be:
// 1. Extend Reactive protocol with constrain on Base // Read as: Reactive Extension where Base is a SomeType extension Reactive where Base: SomeType { // 2. Put any specific reactive extension for SomeType here }
With this approach we can have more specialized methods and properties using
See moreBase
and not just specialized on common base type.Declaration
Swift
public struct Reactive<Base>
-
Represents an object that schedules units of work.
See moreDeclaration
Swift
public protocol SchedulerType : ImmediateSchedulerType