import { type OnModuleDestroy } from "https://deno.land/x/deno_nest@v3.3.1/mod.ts";
Module
x/deno_nest/mod.ts>OnModuleDestroy
Refer to nestjs to realize some common functions for Deno, support hono and oak
cliexamplemodulessrctestsReflectApplicationBadGatewayExceptionBadRequestExceptionBodyParamValidationExceptionConflictExceptionForbiddenExceptionGatewayTimeoutExceptionGoneExceptionHttpExceptionHttpVersionNotSupportedExceptionImATeapotExceptionInternalServerErrorExceptionIRouterMethodNotAllowedExceptionNestFactoryNotAcceptableExceptionNotFoundExceptionNotImplementedExceptionPayloadTooLargeExceptionPreconditionFailedExceptionReflectorRequestTimeoutExceptionServiceUnavailableExceptionUnauthorizedExceptionUnprocessableEntityExceptionUnsupportedMediaTypeExceptionValidationErrorBeforeApplicationShutdownCanActivateClassProviderContextDynamicModuleExceptionFilterExistingProviderFactoryProviderFormDataOptionsInjectedDataIRouterConstructorModuleMetadataNestInterceptorNestInterceptorOptionsOnApplicationBootstrapOnApplicationShutdownOnModuleDestroyOnModuleInitReadableStreamResultRequestResponseRouteMapRouterOptionsStaticOptionsTypeValueProviderAliasOptionsApiPrefixOptionsArrayItemTypeConstructorControllerMethodExceptionFiltersFactoryCreateOptionsGetCacheKeyInjectParamsInstanceListenOptionsMethodTypeMiddlewareHandlerModuleMetadataKeyModuleMetadataKeysModuleTypeNestGuardsNestMiddlewareNestUseInterceptorsNextNotFoundHandlerParamDecoratorCallbackProvideProviderRegisteredProviderRouteItemShutdownSignalSpecialProviderAPP_FILTERAPP_GUARDAPP_INTERCEPTORControllerControllerNameCookiecreateParamDecoratorcreateParamDecoratorWithLowLevelDeleteextnameFactoryGetHeadHostINJECT_META_KEYInjectableINQUIRERIpMETA_ALIAS_KEYMETA_HEADER_KEYMETA_HTTP_CODE_KEYMETA_METHOD_KEYMETA_PATH_KEYMethodNameOptionsparamMetadataKeyPatchPostPutReqResresolveSINGLETON_MEAT_KEYSTATUS_TEXTassertbgBluebgRgb24bgRgb8blueBodyboldCacheCatchclearCacheTimeoutCookiesFormformatgetInjectDatagetMetadataForGuardgetReadableStreamgetTransNumOrBoolOrArraygreenHeaderHeadersHttpCodeInjectisDebugisSingletonitalicModuleParamsparseSearchparseSearchParamsPropertyQueryredRedirectrgb24rgb8setCacheControlSetMetadatatransAndValidateByClstransferParamUseFiltersUseGuardsUseInterceptorsvalidateOrRejectvalidateParamsyellowMethodsScopeStatus
mod.ts (default module)
N
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
E
E
E