IMPORT_PATH: "@daiso-tech/core/circuit-breaker/contracts"
"@daiso-tech/core/circuit-breaker/contracts"
Retrieves the current circuit breaker state for a given key.
The unique identifier for the cricuit breaker.
Returns the circuit breaker state if found, otherwise null.
null
The upsert inserts a circuit breaker if it doesnt exist otherwise it will be updated.
upsert
The unique identifier for the circuit breaker.
IMPORT_PATH:
"@daiso-tech/core/circuit-breaker/contracts"