Configuration.throttleDataRate()
Description
Appends a throttleDataRate filter to the current pipeline layout.
A throttleDataRate filter limits the amout of Data passing through per unit of time.
- INPUT - Any types of Events.
- OUTPUT - Same Events as the input.
This filter passes down everything unaltered. It doesn't change anything in the event stream. It only delays them.
Syntax
pipy().pipeline().throttleDataRate(new algo.Quota(quota, { per }))pipy().pipeline().throttleDataRate(() => getQuota())
Parameters
throttleDataRate(quota)
quota
A Quota object or a function returns it.
Return Value
The same Configuration object.