CombineCommunity / CombineExt

CombineExt provides a collection of operators, publishers and utilities for Combine, that are not provided by Apple themselves, but are common in other Reactive Frameworks and standards.
https://combine.community
MIT License
1.72k stars 151 forks source link

Add `enumerated()` operator #116

Closed mihai8804858 closed 2 years ago

mihai8804858 commented 2 years ago

Added enumerated() operator similar to the one from RxSwift and from Swift.

freak4pc commented 2 years ago

I've rebased your branch on main since CI was fixed there

codecov[bot] commented 2 years ago

Codecov Report

Merging #116 (e5dbfd6) into main (8f7aea2) will increase coverage by 0.07%. The diff coverage is 98.76%.

@@            Coverage Diff             @@
##             main     #116      +/-   ##
==========================================
+ Coverage   95.27%   95.35%   +0.07%     
==========================================
  Files          64       66       +2     
  Lines        3470     3551      +81     
==========================================
+ Hits         3306     3386      +80     
- Misses        164      165       +1     
Impacted Files Coverage Δ
Tests/EnumeratedTests.swift 98.43% <98.43%> (ø)
Sources/Operators/Enumerated.swift 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8f7aea2...e5dbfd6. Read the comment docs.