You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Node.js 18, ReadableStream and WritableStream are available from the global scope, which means now we can use the same stream APIs across runtimes:
chrome
Node.js
deno
So maybe we can add stream support to this library.
Since the final value should be returned to the user, a trivial implementation could be that: Write a fast skiping function to concat chunks of a Uint8Array that holds a marshaled value, then pass it to the existing load().
The text was updated successfully, but these errors were encountered:
Since Node.js 18,
ReadableStream
andWritableStream
are available from the global scope, which means now we can use the same stream APIs across runtimes:So maybe we can add stream support to this library.
Since the final value should be returned to the user, a trivial implementation could be that: Write a fast skiping function to concat chunks of a Uint8Array that holds a marshaled value, then pass it to the existing
load()
.The text was updated successfully, but these errors were encountered: