Behaviours: sregulator_valve.
Implements a simple valve with maximum capacity.
sregulator_open_value
can be used as the sregulator_valve
in a
sregulator
. Its argument is of the form:
Max :: non_neg_integer() | infinity
Max
is the maximum number of concurrent tasks the valve will allow to run.
The valve remains open up to the maximum and then closes. It ignores any
updates.Generated by EDoc, Sep 29 2016, 17:17:28.