enum CircuitBreakerState

Circuit breaker states

Members

CLOSED = "CLOSED"

Normal operation - requests pass through

HALF_OPEN = "HALF_OPEN"

Testing recovery - next request will be attempted

OPEN = "OPEN"

Too many failures - requests are blocked

Usage

import { CircuitBreakerState } from ".";