timeout: Delay

Description Usage Arguments Value See Also

View source: R/trajectory-activities.R

Description

Activity for inserting delays and execute user-defined tasks.

Usage

1
2
3
4
5
timeout(.trj, task)

timeout_from_attribute(.trj, key)

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.

Value

Returns the trajectory object.

See Also

set_attribute, set_global.


r-simmer/simmer documentation built on Dec. 10, 2018, 5:37 a.m.