powered by
Adds a new activity capable of executing any user-defined task and setting an associated delay to the tail of a trajectory.
timeout(traj, task)
the trajectory object.
a callable object (a function) that returns a numeric value (negative values are automatically coerced to positive).
The trajectory object.
Other methods to deal with trajectories: create_trajectory, get_head, get_tail, get_n_activities, seize, release, set_attribute, branch, rollback.