@szilanor/stream
    Preparing search index...

    Function skipWhileAsync

    • Returns an AsyncOperationFunction that skips entries of the source Iterable while the parameter function returns true.

      Type Parameters

      • T

        The type of the elements in the source Iterable.

      Parameters

      Returns AsyncOperationFunction<T, T>

      An AsyncOperationFunction that skips entries of the source Iterable while the parameter function returns true.

      const result = skipWhileAsync<number>([1, 2, 3], (value) => value < 2);
      console.log(result); // [2, 3]