timeout

0th

Percentile

Delay

Activity for inserting delays and execute user-defined tasks.

Usage
timeout(.trj, task)

timeout_from_attribute(.trj, key, global = FALSE)

timeout_from_global(.trj, key)

Arguments
.trj

the trajectory object.

task

the timeout duration supplied by either passing a numeric or a callable object (a function) which must return a numeric (negative values are automatically coerced to positive).

key

the attribute name, or a callable object (a function) which must return the attribute name.

global

if TRUE, the attribute will be global instead of per-arrival.

Details

timeout_from_global is a shortcut for timeout_from_attribute(global=TRUE).

Value

Returns the trajectory object.

Aliases
  • timeout
  • timeout_from_attribute
  • timeout_from_global
Documentation reproduced from package simmer, version 4.0.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.