The isolate method will transition the circuit breaker to isolated state, meaning the circuit breaker will reject all attempts untill it is manually reset.
Parameters
_key: string
Returns Promise<void>
reset
reset(_key:string):Promise<void>
The reset method resets circuit breaker to its initial state regardless of the current state.
Parameters
_key: string
Returns Promise<void>
trackFailure
trackFailure(_key:string):Promise<void>
The trackFailure will method will track failure metric that will be used in updateState method.
Parameters
_key: string
Returns Promise<void>
trackSuccess
trackSuccess(_key:string):Promise<void>
The trackSuccess will method will track success metric that will be used in updateState method.
IMPORT_PATH:
"@daiso-tech/core/circuit-breaker/no-op-circuit-breaker-adapter"