Move to static members and overloads, to support cancellation token passing, ValueTask
and Async
in the module members
#184
Labels
Milestone
It is currently quite a pain to implement cancellation passing explicitly. As has been said in several issues already, we need to support this on each member to do it properly. Plus we will need overloads:
TaskSeq
should also seamlessly take aConfiguredCancelableAsyncEnumerable<_>
, which is available in .NET Standard 2.1. This would solve SupportConfiguredCancelableAsyncEnumerable<'T>
#167, reported by @xperiandri (PS: to prevent the surface area to blow up, I will check ifofCancelable/toCancelable
functions would serve the same purpose).Async
prefix should be able to take aTask
(as they can, currently), anAsync
and aValueTask
. Writing functions likeiterAsync
,iterWithTask
,iterWithValueTask
etc is going to be too painful long-run.The text was updated successfully, but these errors were encountered: