simmer (version 4.0.0)

renege_in: Renege on some Condition

Description

Activities for setting or unsetting a timer or a signal after which the arrival will abandon.

Usage

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