Add a renege activity

Share:

Description

Set or unset a timer or a signal after which the arrival will abandon.

Usage

1
2
3
4
5
renege_in(.trj, t, out = NULL)

renege_if(.trj, signal, out = NULL)

renege_abort(.trj)

Arguments

.trj

the trajectory object.

t

timeout to trigger reneging, accepts either a numeric or a callable object (a function) which must return a numeric.

out

optional sub-trajectory in case of reneging.

signal

signal to trigger reneging, accepts either a string or a callable object (a function) which must return a string.

Value

Returns the trajectory object.

See Also

send

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.