Contents

init(upstream:scheduler:)

Creates a publisher that measures and emits the time interval between events received from an upstream publisher.

Declaration

init(upstream: Upstream, scheduler: Context)

Parameters

  • upstream:

    The publisher from which this publisher receives elements.

  • scheduler:

    A scheduler to use for tracking the timing of events.