completed promise does not resolve after terminate
Ouverte
bug
- Langage dominant
- TypeScript
- Étoiles
- 3.5k
- Forks
- 173
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.