Materialize

public struct Materialize<Upstream> : Publisher where Upstream : Publisher

Wraps all the elements as well as the subscription and completion events of an upstream publisher into a stream of Signal elements

  • Declaration

    Swift

    public typealias Output = Signal<Upstream.Output, Upstream.Failure>
  • Declaration

    Swift

    public typealias Failure = Never
  • Declaration

    Swift

    public func receive<S>(subscriber: S) where S : Subscriber, S.Failure == Publishers.Materialize<Upstream>.Failure, S.Input == Publishers.Materialize<Upstream>.Output