Contents

init(upstream:dueTime:scheduler:options:)

Creates a publisher that publishes elements only after a specified time interval elapses between events.

Declaration

init(upstream: Upstream, dueTime: Context.SchedulerTimeType.Stride, scheduler: Context, options: Context.SchedulerOptions?)

Parameters

  • upstream:

    The publisher from which this publisher receives elements.

  • dueTime:

    The amount of time the publisher should wait before publishing an element.

  • scheduler:

    The scheduler on which this publisher delivers elements.

  • options:

    Scheduler options that customize this publisher’s delivery of elements.