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

Function off

packages/core/src/utils/AbstractMigrator.ts:93–96  ·  view source on GitHub ↗

* @inheritDoc

(eventName: MigratorEvent, listener: (event: MigrationInfo) => MaybePromise<void>)

Source from the content-addressed store, hash-verified

91 * @inheritDoc
92 */
93 off(eventName: MigratorEvent, listener: (event: MigrationInfo) => MaybePromise<void>): this {
94 this.#listeners.get(eventName)?.delete(listener);
95 return this;
96 }
97
98 /**
99 * @inheritDoc

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected