Pristine.Ports.AdmissionControl behaviour (Pristine v0.3.1)

Copy Markdown View Source

Admission-control boundary for optional high-throughput request shaping.

Summary

Callbacks

set_backoff(non_neg_integer, keyword)

(optional)
@callback set_backoff(non_neg_integer(), keyword()) :: :ok

with_admission(function, keyword)

@callback with_admission((-> term()), keyword()) :: term()