Open
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.