2 ms·
I don't like the term "nursery" (maybe "highway" or "complex" or... something else) but this seems to be a good design change, unless I'm missing something
by pmarreck 9y ago
I don't like the term "nursery" (maybe "highway" or "complex" or... something else) but this seems to be a good design change, unless I'm missing something
- Osiris 9y agoI believe it's used because it keeps track of "children", or child functions spawned by the current function. Without knowing that background however, it's not immediately obviously to someone that hasn't heard the term what it means. As others have mentioned, reusing the "await" keyword could cover a lot of these nursery scenarios.
- bvinc 9y agoIt's a place for threads to run... a sweater? A sewing machine? A spool?
- mattnewport 9y agoYeah, I thought the article was interesting but the choice of "nursery" still has me scratching my head. I can't see where it comes from or why that word was chosen.