English
Appearance
EntrypointDestroyer = () => void | Promise<void>
void
Promise
A function releasing what a 2.x entrypoint started (a server, a connection), run when the entrypoint stops; the entrypoint then waits for the requests in progress.
void | Promise<void>