Current section
Files
Jump to
Current section
Files
src/circuit.erl
-module(circuit).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/circuit.gleam").
-export_type([circuit_state/0, config/0, call_result/0]).
-type circuit_state() :: closed | open | half_open.
-type config() :: {config, integer(), integer(), integer()}.
-type call_result() :: success | {failure, binary()}.