sibnerian / electron-promise-ipc

Promise-flavored IPC calls in Electron. 100% test coverage.
MIT License
68 stars 10 forks source link

Async iterable support? #38

Open vaultec81 opened 3 years ago

vaultec81 commented 3 years ago

I think it would be a good idea to include async iterable function support along with regular async function. An example of use case would be streaming large amounts of data from the main process to the renderer process for display. Async iterables are especially important to keep memory usage low when sending large amounts of data between main and renderer process.

sibnerian commented 2 years ago

Sounds like a great addition, looking forward to your PR :)