alanshaw / alanshaw/it-to-stream

When stream closes, also close the iterator

Abierto
#42 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
23
Forks
3
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript, node.js
Área
backend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
55/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.