alanshaw / alanshaw/it-to-stream
When stream closes, also close the iterator
- Langage dominant
- JavaScript
- Étoiles
- 23
- Forks
- 3
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Readable (Duplex) responds to iterator return() and throw() by closing/throwing the stream, but it does not communicate stream disconnects back to the iterator.
It would be good for the Readable to call return() and throw() on the iterator on stream disconnects.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by finding the code that converts iterable sources into Readable/Duplex Node.js streams, then read the tests for iterator return() and throw() behavior. Add coverage for stream disconnects propagating back to the iterator. Done means closing or erroring the stream calls the iterator's return() or throw() as appropriate without breaking existing stream behavior.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, node.js
- Domaine
- backend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 55/100