Type Alias: EntrypointDestroyerRegistrar
EntrypointDestroyerRegistrar = (
destroyer) =>void
Register an EntrypointDestroyer, given to the 2.x entrypoints. The destroyers registered by an entrypoint run together (not in order) when it stops; their failures are thrown from the entrypoint's destruction.
Parameters
destroyer
The function run when the entrypoint stops.
Returns
void