mattiasbuelens / remote-web-streams Goto Github PK
View Code? Open in Web Editor NEWWeb streams that work across web workers and iframes.
Home Page: https://mattiasbuelens.github.io/remote-web-streams/examples/
License: MIT License
Web streams that work across web workers and iframes.
Home Page: https://mattiasbuelens.github.io/remote-web-streams/examples/
License: MIT License
it seems like as soon as all chunks have been transfered to the other remote streams it closes without actually knowing if the worker is done or not?
i get race condition errors...
await redable.pipeTo(writable) // resolves earlier than it should...?
// here i'm required to wait a bit longer for the worker to successfully write it to indexeddb.
await new Promise(rs => setTimeout(rs, ms))
file = await idb.get(key)
maybe it's a bug or just not implemented yet?
trying to import this using CDN instead of npm and it says there is a module variant shipped but there are non on npm.
would you maybe consider distribute this as a ESM-only pkg?
ditch cjs all together? make a major release.
Are transferables detected or is there a configuration option to enable efficient zero-copy transfers? e.g. worker.postMessage(uInt8Array, [uInt8Array.buffer])
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.