circuit

circuit logo

Prevent cascading failures in your Gleam applications. Circuit breaker pattern with sliding window tracking, OTP-supervised state, and support for both Erlang and JavaScript targets.


Package Version Hex Docs License


Installation

Add circuit to your Gleam project:

gleam add circuit@1

Quick Start

import circuit

pub fn main() -> Nil {
  // TODO: An example of the project in use
}

📖 Full documentation is available at hexdocs.pm/circuit.


Development

Clone the repo and use the standard Gleam commands:

gleam run   # Run the project
gleam test  # Run the tests

Made with ♥ using Gleam

Search Document