mogami-stream - v0.2.0
    Preparing search index...

    Function dedupe

    • Drops consecutive values that produce the same key according to Object.is.

      When keySelector is omitted, values are compared directly (preserving Promise identity). When provided, keySelector is called and awaited sequentially for each item, and only the last emitted key is retained in memory.

      Type Parameters

      • T
      • K = T

      Parameters

      Returns Operator<T, T>