IAsyncEnumerable - Any support for this? I don't see any mention of IAsyncEnumerable in this repository at all
#470
|
Hey all, I wanted to check and see if IAs is supported. I see in
That would equate to something like QuestionHow should I return a Most of my methods return |
Replies: 1 comment 1 reply
|
No, there's no support for I don't see the need for Since |
No, there's no support for
IAsyncEnumerableor similar. As far as I understand, that's for IO/out-of-process dependencies, which this library doesn't work with.I don't see the need for
ResultAsynceither because all extension methods (sync or async) work with theResultclass itself.Since
IAsyncEnumerableshould be the upper-most monad, you'd have to do something lineIAsyncEnumerable<Maybe<T>>. This doesn't really work well, so I'd recommend to first process theIAsyncEnumerableand then convert the whatever result toMaybeorResult.