@cprecioso/async-iterable-helpers
    Preparing search index...

    Function first

    • Takes the first item and stops consuming the source.

      Type Parameters

      • T

      Returns SinkFn<T, T | undefined>

      A sink resolving to the first item, or undefined if the iterable is empty.