/**
 * CircuitBreakerModule - P6 熔断器模块.
 *
 * 仲裁依据:
 *   - workline §5.5 P6.1 (熔断器 opossum 完善)
 *   - coord-final-decisions §1 G11 (opossum 熔断器)
 *
 * 提供 CircuitBreakerService 供 Resolver 使用 (可选, P6 阶段启用).
 * P3-P5 阶段 Resolver 直接调用 DownstreamClient.call, P6 可切换为 CircuitBreakerService.call.
 */
import { Global, Module } from "@nestjs/common";
import { CircuitBreakerService } from "./circuit-breaker.service.js";

@Global()
@Module({
  providers: [CircuitBreakerService],
  exports: [CircuitBreakerService],
})
export class CircuitBreakerModule {}
