DigitecGalaxus / Galaxus.Functional

A package bringing popular functional abstractions (e.g. Option or Result) to C#.
Other
37 stars 12 forks source link

Add method Option.MatchAsync #34

Closed syrotkin closed 1 year ago

syrotkin commented 1 year ago

This is the related issue: https://github.com/DigitecGalaxus/Galaxus.Functional/issues/33

phkiener commented 1 year ago

We've moved all the async extensions into separate files for each type (and I could only complete that PR just now, guess that was bad luck for you, sorry).

Can you move the MatchAsync implementations to AsyncOptionExtensions and the tests to a new file AsyncOptionExtensions.MatchAsyncTest in Galaxus.Functional.Tests/Option/Async? I'll do a thorough review later on, but this I can tell you right away