Skip to content

Type Alias: EntrypointDestroyer ​

EntrypointDestroyer = () => void | Promise<void>

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.

Returns ​

void | Promise<void>

Released under the MIT License.