renege_in: Renege on some Condition

Description Usage Arguments Value See Also

View source: R/trajectory-activities.R

Description

Activities for setting or unsetting 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


simmer documentation built on Nov. 17, 2017, 5:37 a.m.