runlet v1.0.0 Runlet.Cmd.Flow
Flow control events
Link to this section Summary
Functions
Drop events that exceed a rate in count per seconds.
Drop events that exceed a rate in count per seconds.
Link to this section Functions
Link to this function
exec(stream, flow_count, flow_seconds)
exec(Enumerable.t(), pos_integer(), pos_integer()) :: Enumerable.t()
Drop events that exceed a rate in count per seconds.
Link to this function
exec(stream, flow_count, flow_seconds, flow_max)
exec(Enumerable.t(), pos_integer(), pos_integer(), pos_integer()) :: Enumerable.t()
Drop events that exceed a rate in count per seconds.
The flow_max argument specifies a high water mark for the number of queued messages. If the maximum is exceeded, all queued messages are dropped.