3 ms·
>limiting the synchronous APIs to just workers seems like one too many layers of indirection An unresponsive script is slowing this window down - kill process
by bobkazamakis 4y ago
>limiting the synchronous APIs to just workers seems like one too many layers of indirection
An unresponsive script is slowing this window down - kill process ot wait?
- throwaway284534 4y agoThe file handler is already tucked inside an asynchronous Promise based API. I think it’s reasonable that a mere attempt to get a handler synchronously is made possible. Whether to support synchronous read/write access is another matter. I would be delighted if handlers were more akin to byte arrays that could be written and read synchronously, albeit with an asynchronous function to persist changes to the disk.