eon.cancel¶
Cooperative cancel for in-process jobs.
The token is polled before each job and before each in-process
dispatch. A force-call inside a compiled relax still runs to the next
poll. cancel_state sets the flag only while a batch is running,
and the flag is cleared when that batch returns.