Wait until all connections have closed #12647
Unanswered
Industrial
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I have this Server class that I had to add these 3 properties to:
Is there a better way to wait until all sockets are closed?
I am running tests and each test creates a new server. If I close the server in one test with a sync op, the next test will try to spawn a new
Deno.listen()on the same port and I will get an error.Beta Was this translation helpful? Give feedback.
All reactions