import { createLogger } from "@open-mercato/shared/lib/logger";
const logger = createLogger("inbox_ops");
function resolveOptionalEventBus(container) {
  try {
    return container.resolve("eventBus");
  } catch (error) {
    logger.warn("Event bus unavailable", { err: error });
    return null;
  }
}
export {
  resolveOptionalEventBus
};
//# sourceMappingURL=eventBus.js.map
