sideeffect-io / AsyncExtensions

AsyncExtensions aims to mimic Swift Combine operators for async sequences.
MIT License
334 stars 26 forks source link

operators: implement Assign #3

Closed twittemb closed 2 years ago

twittemb commented 2 years ago

Description

This PR adds the Assign operator.

Checklist

codecov-commenter commented 2 years ago

Codecov Report

Merging #3 (4678d40) into main (c205cbc) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   97.81%   97.82%   +0.01%     
==========================================
  Files          38       40       +2     
  Lines        1876     1887      +11     
==========================================
+ Hits         1835     1846      +11     
  Misses         41       41              
Impacted Files Coverage Δ
Sources/Operators/AsyncSequence+Assign.swift 100.00% <100.00%> (ø)
Tests/Operators/AsyncSequence+AssignTests.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 c205cbc...4678d40. Read the comment docs.