Activity for inserting delays and execute user-defined tasks.

timeout(.trj, task)

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).

Value

Returns the trajectory object.