View Source Runlet.Cmd.Abort (runlet v1.2.6)
Abort pipeline if rate limit exceeded
Summary
Functions
Places a maximum rate limit on an event stream. Exceeding the limit terminates the process.
Functions
@spec exec(Enumerable.t(), pos_integer(), pos_integer()) :: Enumerable.t()
Places a maximum rate limit on an event stream. Exceeding the limit terminates the process.
# abort if number of events exceeds 5 in 2 minutes
abort 5 120