[@types/node] async generator functions in pipeline utility #69170
Replies: 1 comment
-
Thanks for the discussion about "node", some useful links for everyone: Pinging the DT module owners: @microsoft, @jkomyno, @alvis, @r3nya, @btoueg, @smac89, @Touffy, @DeividasBakanas, @eyqs, @Hannes-Magnusson-CK, @hoo29, @kjin, @ajafff, @islishude, @mwiktorczyk, @mohsen1, @galkin, @parambirs, @eps1lon, @ThomasdenH, @WilcoBakker, @wwwy3y3, @samuela, @kuehlein, @bhongy, @chyzwar, @trivikr, @yoursunny, @qwelias, @ExE-Boss, @peterblazejewicz, @addaleax, @victorperin, @ZYSzys, @nodejs, @LinusU, @wafuwafu13, @mcollina, @Semigradsky. |
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
-
@types/node version 20.11.30
The pipeline utility function from the Node.js Stream module supports async generators, but the typescript types are not compatible. It appears to impact both
node:stream
andnode:stream/promises
. You can see examples here: https://nodejs.org/docs/latest-v20.x/api/stream.html#streams-promises-apiBeta Was this translation helpful? Give feedback.
All reactions