View Source Runlet.Cmd.Abort (runlet v1.2.5)

Abort pipeline if rate limit exceeded

Summary

Functions

Places a maximum rate limit on an event stream. Exceeding the limit terminates the process.

Functions

Link to this function

exec(stream, limit, seconds \\ 60)

View Source

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