Replies: 1 comment 2 replies
-
No, these inconsistencies are due to an oversight. There were a couple of waves of refactoring to organize these extension methods and it looks like not all the method were designated to the new structure properly. Also, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good day, i have been taking a look on the source code and i have noticed that some async extensions like the 'Compensate' are in the 'ResultExtensions' while some others are in their respective 'AsyncResultExtensions(left, right or both)Operand' is there any reason for that, or is it just part of the legacy of the project?
I have also noticed that some are in the unintended class, like the 'Match.Task.Right' is in the 'AsyncResultExtensionsLeftOperand' class, this probably would not make any difference in the use of the extensions, unless the user prefer to call the class explicitly.
I have never used value tasks, but i have noticed that async 'OnSuccessTry' does not have their respective value tasks counterpart, same for the 'TapIfTry' and 'TapTry'.
I have been using these extensions for a while now, glad the project exists, cheers.
Beta Was this translation helpful? Give feedback.
All reactions