completed promise does not resolve after terminate
Abierto
bug
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.5k
- Forks
- 173
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
My code is waiting for the completed promise, eg `await this.pool.completed()` but after using `await this.pool.terminate(true)`, the completed promise still waits.
Is that intended? Shouldn't it either throw or resolve?
I can work around it with a second promise and using `Promise.any()` but that seems unintuitive.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.