runlet v1.0.0 Runlet.Ctrl.Flow
dynamically change flow control for a running event stream
Link to this section Summary
Functions
Alters the flow control for a running process to 1/minute.
Alters the flow control for a running process or processes to count events in minutes
Alters the flow control for a process running as a different user to count events in minutes.
Link to this section Functions
Alters the flow control for a running process to 1/minute.
Link to this function
exec(env, pid, count, minutes)
exec(Runlet.t(), integer() | float() | binary(), pos_integer(), pos_integer()) :: Enumerable.t()
Alters the flow control for a running process or processes to count events in minutes:
# pid 1234: 10 events/2 minutes args: 1234 10 2
# pids 1234, 2345, 123456 args: "1234 2345 12346" 10 2
Link to this function
exec(env, pid, count, minutes, uid)
exec( Runlet.t(), integer() | float() | binary(), pos_integer(), pos_integer(), binary() ) :: Enumerable.t()
Alters the flow control for a process running as a different user to count events in minutes.
args: 1234 10 2 "nobody"