swift-async-algorithms icon indicating copy to clipboard operation
swift-async-algorithms copied to clipboard

Implement AsyncSequence.enumerated()

Open adam-fowler opened this issue 2 years ago • 1 comments

Pretty much the same as Sequence.enumerated but for AsyncSequence.

eg Translates ["a", "b", "c"] to [(0,"a"), (1, "b"), (2, "c")]

adam-fowler avatar Apr 05 '23 14:04 adam-fowler

Thanks for opening this @adam-fowler! Definitely a needed AsyncSequence. We are still finalising the 1.0.0 release. I will mark this as a 1.1.0 candidate

FranzBusch avatar Apr 05 '23 14:04 FranzBusch