MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / close

Method close

packages/core/src/cache/CacheAdapter.ts:26–26  ·  view source on GitHub ↗

* Called inside `MikroORM.close()` Allows graceful shutdowns (e.g. for redis).

()

Source from the content-addressed store, hash-verified

24 * Called inside `MikroORM.close()` Allows graceful shutdowns (e.g. for redis).
25 */
26 close?(): void | Promise<void>;
27}
28
29/** Synchronous variant of CacheAdapter, used for metadata cache where async access is not needed. */

Callers 15

closeMethod · 0.65
destroyMethod · 0.65
createKyselyDialectMethod · 0.65
callRoutineMethod · 0.65
closeMethod · 0.65
isDBConnectedMethod · 0.65
handlerMethod · 0.65
handlerMethod · 0.65
handlerMethod · 0.65
handleCheckCommandMethod · 0.65
handleSchemaCommandMethod · 0.65

Implementers 5

GeneratedCacheAdapterpackages/core/src/cache/GeneratedCache
MemoryCacheAdapterpackages/core/src/cache/MemoryCacheAda
ResultCacheAdapterNulltests/issues/GH6585.test.ts
ResultCacheAdapterMocktests/issues/GH6585.test.ts
RecordingAdaptertests/issues/GH7644.test.ts

Calls

no outgoing calls

Tested by 4

getRefsFunction · 0.52
getColsFunction · 0.52
teardownLiveFunction · 0.52
createAndRunMigrationFunction · 0.52