piscinajs / piscina

A fast, efficient Node.js Worker Thread Pool implementation

Home Page:https://piscinajs.github.io/piscina/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for `AsyncIterators`

metcoder95 opened this issue · comments

After seeing the following comment from @JoshuaWise: #108 (comment)

I started wondering if adding support for AsyncIterators might be a good addition. But somehow I feel it might break the pillars behind Piscina, as each thread communicates back an Iterator and that might cause some harm over the whole pool (not to mention possible leakages).

Wanted to drag some chat about it and maybe start thinking about its pros and cons.

This issue has been marked as stale because it has been opened 30 days without activity. Remove stale label or comment or this will be closed in 5 days.

This issue was closed because it has been stalled for 5 days with no activity.