SwiftstructSoundAnalysis

struct Combine.Publishers.CollectionTimestamper

Structure

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

inherits{}

Members 5

  1. fieldlet operation: (Combine.AnyPublisher<A.Publisher.Output.Timestamped.Value, Error>) -> B
  2. fieldlet policy: Combine.Publishers.CollectionTimestamper<A, B>.TimestampingPolicy
  3. fieldlet upstream: A
  4. typealiastypealias Failure = Swift.Error
  5. typealiastypealias Output = SoundAnalysis.TimestampedValue<B.Combine.Publisher.Output, A.Combine.Publisher.Output.SoundAnalysis.Timestamped.Timestamp>
struct CollectionTimestamper<A, B> where A: Combine.Publisher, B: Combine.Publisher, A.Output: SoundAnalysis.Timestamped, B.Output: Swift.Collection, A.Output.Timestamp: Swift.Numeric, A.Output.Value: Swift.Collection {
    enum TimestampingPolicy {
        case increment(Swift.Int)
        case countElementsWithElementRateRatio(inputRate: Swift.Int, outputRate: Swift.Int)
        case countElements
    }
    let upstream: A
    let policy: Combine.Publishers.CollectionTimestamper<A, B>.TimestampingPolicy
    let operation: (_: Combine.AnyPublisher<A.Output.Value, any Swift.Error>) -> B
}