import {
  UnknownEntityError
} from "./chunk-3CJFPU6Q.js";

// runtime/subsystems/integration/entity-change-source-registry.memory.ts
var MemoryEntityChangeSourceRegistry = class {
  constructor(sources) {
    this.sources = sources;
  }
  sources;
  get(name) {
    const source = this.sources.get(name);
    if (!source) {
      throw new UnknownEntityError(name, [...this.sources.keys()]);
    }
    return source;
  }
  has(name) {
    return this.sources.has(name);
  }
  entities() {
    return [...this.sources.keys()];
  }
};

export {
  MemoryEntityChangeSourceRegistry
};
//# sourceMappingURL=chunk-4KNXX6TI.js.map