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

Method run

packages/core/src/utils/AsyncContext.ts:3–3  ·  view source on GitHub ↗
(store: T, callback: () => R)

Source from the content-addressed store, hash-verified

1export interface AsyncContext<T> {
2 getStore(): T | undefined;
3 run<R>(store: T, callback: () => R): R;
4 enterWith(store: T): void;
5}
6

Callers 5

createMethod · 0.65
createMethod · 0.65
createMigrationHandlerFunction · 0.65
initializeFunction · 0.65
commitMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected