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
it utilize web workers instead of spawning sync processes and data is transfered synchronous over SharedArrayBuffer so less code needs to be copied over.
Therefore it's also more compatible with other enviorments like Deno, Bun, and also Web Workers.
check it out... it's very easy to use.
all the arguments is easily transferable over to the worker cuz it can use structural clone alg instead of passing things around with argv flags. or over stdin/out
so transfering blob / files are very easy. so there is no problem with re-creating a formdata on the worker thread.
The text was updated successfully, but these errors were encountered:
So glad to see this exists! The orphaned processes that sync-request leaves make it very difficult to deal with, so this will hopefully be a massive improvement. This looks like a great base library, does anything exist specifically for web requests?
In browser your could use Sync xhr in the main thread. But its being depricated.
Otherwise you could use Sync xhr in workers or use fetch along with await-sync but it requires enabling sharedArrayBuffer for the liv to work
I created await-sync today
it utilize web workers instead of spawning sync processes and data is transfered synchronous over
SharedArrayBuffer
so less code needs to be copied over.Therefore it's also more compatible with other enviorments like Deno, Bun, and also Web Workers.
it's as simple as just doing:
check it out... it's very easy to use.
all the arguments is easily transferable over to the worker cuz it can use structural clone alg instead of passing things around with argv flags. or over stdin/out
so transfering blob / files are very easy. so there is no problem with re-creating a formdata on the worker thread.
The text was updated successfully, but these errors were encountered: