How to stream for netstandard2.0 #953
Replies: 1 comment
-
Disregard! It looks like netstandard2.0 is supported, my knowledge was based on a preview version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use this library with a netstandard2.0 target (PowerShell 5.1), I want to emit objects as they are generated from an invokable script rather than wait until the end and send them all as an array.
The docs suggest IAsyncEnumerable should be used but my understanding is that it can only be used in .NET Core 3.0 or .NET standard 2.1 or later. Is there an alternative method I should be using to send responses to a request in a "streaming" manner?
Beta Was this translation helpful? Give feedback.
All reactions