SwiftstructSoundAnalysis

struct SoundAnalysis.CompletingTee

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 4

  1. fieldlet createTee: (Combine.AnyPublisher<A.Publisher.Output, A.Publisher.Failure>) -> B+0x0
  2. fieldlet upstream: A
  3. typealiastypealias Failure = A.Combine.Publisher.Failure
  4. typealiastypealias Output = A.Combine.Publisher.Output
struct CompletingTee<A, B> where A: Combine.Publisher, B: Combine.Publisher, B.Failure == Swift.Never, B.Output == Swift.Never {
    class TeeSink {
        var upstreamSubscription: (any Combine.Subscription)?
    }
    class TeeFork<A1> where A1: Combine.Subscriber, A.Failure == A1.Failure, A.Output == A1.Input {
        let sendToSink: Combine.PassthroughSubject<A.Output, A.Failure>
        let downstream: A1
    }
    let createTee: (_: Combine.AnyPublisher<A.Output, A.Failure>) -> B
    let upstream: A
}