<agent_handle>.discard-jobs ([ job-id ... ] | list of job-id)
Discard all or specified commands from this agent_handle object. Any ongoing job is left behind and any upcoming result from it is ignored.
A command posted on an agent handle is given an integer ID which is unique per agent handle. With the job-id argument, specify one or more IDs for the commands to be discarded.
matic
<agent_handle>.list-jobs