Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making ifSecond parameter as optional on Task Option.MatchAsync (#164)
Let's make the second parameter optional to avoid forcing developers to specify the second function that does nothing e.g.: ``` await myOption.MatchAsync(async r => { await something... //do something else }, _ => Task.CompletedTask ); ``` => ``` await myOption.MatchAsync(async r => { await something... //do something else }); ``` Benchmark results: .NET 6 ![image](https://github.com/MewsSystems/FuncSharp/assets/40407201/598afb82-1f68-41ef-b5c1-e566634a65fc) .NET 8 ![image](https://github.com/MewsSystems/FuncSharp/assets/40407201/c588ac76-9395-4c10-a4d5-71d11e6c569b)
- Loading branch information