Classes

The following classes are available globally.

  • Mutable subclass of channel You can update and complete producer manually internal use only

    See more

    Declaration

    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 Future or Channel and Context. That gives an opportunity to make cache that can report of status of completion updateally (e.g. download persentage).

    See more

    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 Future or Channel and Context. That gives an opportunity to make cache that can report of status of completion updateally (e.g. download persentage).

    See more

    Declaration

    Swift

    public class Cache<Key, T> where Key : Hashable, T : CachableCompletable
  • 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 more

    Declaration

    Swift

    public class Channel<U, S> : EventSource
  • Future is a proxy of value that will be available at some point in the future.

    See more

    Declaration

    Swift

    public class Future<S> : Completing
  • DynamicProperty acts like a property but looks like a Producer. You can make non Objective-C dynamic properties with it.

    See more

    Declaration

    Swift

    public class DynamicProperty<T> : BaseProducer<T, Void>
  • ProducerProxy acts like a producer but is actually a proxy for some operation, e.g. setting and oberving property

    See more

    Declaration

    Swift

    public class ProducerProxy<Update, Success> : BaseProducer<Update, Success>
  • ReleasePool is an object that retains another objects

    See more

    Declaration

    Swift

    public class ReleasePool
  • Is a EventDestination you an only apply values to. Very useful for write-only reactive properties (you can write to, but they are not observable)

    See more

    Declaration

    Swift

    public class Sink<U, S> : EventDestination
  • An object that is able to control (enable and disable) observation-related channel constructors

    See more

    Declaration

    Swift

    public class ObservationSession