runlet v1.0.0 Runlet.Cmd.Suppress

Ignore events for a time period in seconds

Link to this section Summary

Functions

Sets a timer and ignores any events until the timer fires.

Link to this section Types

Link to this type

t()

t() :: %Runlet.Cmd.Suppress{
  active: boolean(),
  ref: reference() | nil,
  tref: :timer.tref() | nil
}

Link to this section Functions

Link to this function

exec(stream, seconds)

Sets a timer and ignores any events until the timer fires.

Can be used for long running commands that always output on start.

Args:

suppress