Producer

final public class Producer<Update, Success> : BaseProducer<Update, Success>, CachableCompletable

Producer that can be manually created

  • Declaration

    Swift

    public typealias CompletingType = Channel<Update, Success>
  • convenience initializer of Producer. Initializes Producer with default buffer size

    Declaration

    Swift

    public init()
  • designated initializer of Producer. Initializes Producer with specified buffer size

    Declaration

    Swift

    override public init(bufferSize: Int)
  • designated initializer of Producer. Initializes Producer with specified buffer size and values

    Declaration

    Swift

    public init<S>(bufferSize: Int, bufferedUpdates: S) where Update == S.Element, S : Sequence
  • designated initializer of Producer. Initializes Producer with specified buffer size and values

    Declaration

    Swift

    public init<C>(bufferedUpdates: C) where Update == C.Element, C : Collection