OptionalenableAsyncTracking?: booleanIf true, metric tracking will run asynchronously in the background and won't block the function utilizing the circuit breaker logic.
OptionaleventBus?: IEventBusOptionalnamespace?: NamespaceOptionalserde?: OneOrMore<ISerderRegister>OptionalserdeTransformerName?: stringOptionalslowCallTime?: ITimeSpanOptionaltrigger?: CircuitBreakerTriggerYou can decide to track only errors, only slow calls or both as failures.
IMPORT_PATH:
"@daiso-tech/core/circuit-breaker"