Skip to content

CircuitState

Defined in: node_modules/.pnpm/cockatiel@4.0.0/node_modules/cockatiel/dist/CircuitBreakerPolicy.d.ts:5

Closed: 0

Defined in: node_modules/.pnpm/cockatiel@4.0.0/node_modules/cockatiel/dist/CircuitBreakerPolicy.d.ts:9

Normal operation. Execution of actions allowed.


HalfOpen: 2

Defined in: node_modules/.pnpm/cockatiel@4.0.0/node_modules/cockatiel/dist/CircuitBreakerPolicy.d.ts:19

Recovering from open state, after the automated break duration has expired. Execution of actions permitted. Success of subsequent action/s controls onward transition to Open or Closed state.


Isolated: 3

Defined in: node_modules/.pnpm/cockatiel@4.0.0/node_modules/cockatiel/dist/CircuitBreakerPolicy.d.ts:23

Circuit held manually in an open state. Execution of actions blocked.


Open: 1

Defined in: node_modules/.pnpm/cockatiel@4.0.0/node_modules/cockatiel/dist/CircuitBreakerPolicy.d.ts:13

The automated controller has opened the circuit. Execution of actions blocked.