MemoryCircuitStateStore
Defined in: src/circuit-extensions.ts:66
In-process CircuitStateStore: shares one breaker state between pipelines in the same process (and in tests).
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MemoryCircuitStateStore():
MemoryCircuitStateStore
Returns
Section titled “Returns”MemoryCircuitStateStore
Methods
Section titled “Methods”get(
key):CircuitSnapshot|undefined
Defined in: src/circuit-extensions.ts:68
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”CircuitSnapshot | undefined
Implementation of
Section titled “Implementation of”set(
key,snapshot):void
Defined in: src/circuit-extensions.ts:71
Parameters
Section titled “Parameters”string
snapshot
Section titled “snapshot”Returns
Section titled “Returns”void