IMPORT_PATH: "@daiso-tech/core/circuit-breaker/database-circuit-breaker-storage-adapter"
"@daiso-tech/core/circuit-breaker/database-circuit-breaker-storage-adapter"
Retrieves the current circuit breaker state for a given key.
Returns the circuit breaker state if found, otherwise null.
null
Removes a circuit breaker from the database.
The transaction method runs the fn function inside a transaction. The fn function is given a ICircuitBreakerStorageAdapterTransaction object.
transaction
fn
ICircuitBreakerStorageAdapterTransaction
IMPORT_PATH:
"@daiso-tech/core/circuit-breaker/database-circuit-breaker-storage-adapter"