View Source Chaperon.Action.SpreadAsync (chaperon v0.3.1)

Action that calls a function with a given rate over a given interval of time (ms).

Link to this section Summary

Link to this section Types

@type rate() :: non_neg_integer()
@type t() :: %Chaperon.Action.SpreadAsync{
  func: Chaperon.CallFunction.callback(),
  interval: time(),
  rate: rate(),
  task_name: atom()
}
@type time() :: non_neg_integer()