SwiftstructSoundAnalysis

struct SoundAnalysis.KeepAliveDuringSubscriptionPublisher

Structure

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

inherits{}

Members 4

  1. fieldlet createState: () throws -> B
  2. fieldlet upstream: A
  3. typealiastypealias Failure = Swift.Error
  4. typealiastypealias Output = A.Combine.Publisher.Output
struct KeepAliveDuringSubscriptionPublisher<A, B> where A: Combine.Publisher, A.Failure == any Swift.Error {
    class Middle<A1> where A1: Combine.Subscriber, A.Output == A1.Input, A1.Failure == any Swift.Error {
        let subscriber: A1
        var state: B?
        let createState: () throws -> B
    }
    let upstream: A
    let createState: () throws -> B
}