Function spaceEvenlyRepeat

  • Will evenly space out values using a buffer. If no values are available in the buffer, a value will be pulled from the value history. History will only be used if more than minHistory values have been processed

    Type Parameters

    • T

    Parameters

    • delay: number

      The min delay to maintain between values in ms

    • maxHistory: number = 100

      The maximum amount of entries to keep in memory

    • minHistory: number = 1

      The minimum amount of entries before history will be used

    • initialHistory: T[] = []

      Pre-populate the history of the queue

    • scheduler: SchedulerLike = asyncScheduler

      The scheduler

    Returns MonoTypeOperatorFunction<T>