Classes
The following classes are available globally.
-
Mutable subclass of channel You can update and complete producer manually internal use only
See moreDeclaration
Swift
public class BaseProducer<Update, Success> : Channel<Update, Success>, EventDestination
-
Is a simple cache that can contain single value. Does not invalidate cached values automatically. Parametrised with Completable that can be either
See moreFuture
orChannel
and Context. That gives an opportunity to make cache that can report of status of completion updateally (e.g. download persentage).Declaration
Swift
public class CachableValue<T> where T : CachableCompletable
-
Is a simple cache that can contain multiple values by unique hashable key. Does not invalidate cached values automatically. Parametrised with Key, T that can be either
See moreFuture
orChannel
and Context. That gives an opportunity to make cache that can report of status of completion updateally (e.g. download persentage).Declaration
Swift
public class Cache<Key, T> where Key : Hashable, T : CachableCompletable
-
An object that allows to implement and control cancellation
See moreDeclaration
Swift
public class CancellationToken : Cancellable
-
represents values that updateally arrive followed by failure of completion that completes Channel. Channel oftenly represents result of long running task that is not yet arrived and flow of some intermediate results.
See moreDeclaration
Swift
public class Channel<U, S> : EventSource
-
Future is a proxy of value that will be available at some point in the future.
See moreDeclaration
Swift
public class Future<S> : Completing
-
DynamicProperty acts like a property but looks like a
See moreProducer
. You can make non Objective-C dynamic properties with it.Declaration
Swift
public class DynamicProperty<T> : BaseProducer<T, Void>
-
Producer that can be manually created
See moreDeclaration
Swift
final public class Producer<Update, Success> : BaseProducer<Update, Success>, CachableCompletable
-
ProducerProxy acts like a producer but is actually a proxy for some operation, e.g. setting and oberving property
See moreDeclaration
Swift
public class ProducerProxy<Update, Success> : BaseProducer<Update, Success>
-
Promise is a future that may be manually completed by owner
See moreDeclaration
Swift
final public class Promise<Success> : Future<Success>, Completable, CachableCompletable
-
ReleasePool is an object that retains another objects
See moreDeclaration
Swift
public class ReleasePool
-
Is a
See moreEventDestination
you an only apply values to. Very useful for write-only reactive properties (you can write to, but they are not observable)Declaration
Swift
public class Sink<U, S> : EventDestination
-
An object that is able to control (enable and disable) observation-related channel constructors
See moreDeclaration
Swift
public class ObservationSession