Skip to main content

request_exclusive_rerun

Function request_exclusive_rerun 

Source
pub fn request_exclusive_rerun() -> bool
Expand description

Ask for the shared-hold bind on this worker to be run again as an exclusive writer. Returns false (and does nothing) for every other job.

The caller must return at once, without changing actor state: the executor discards the response, frees the worker, and queues the same job at the head of the actor’s binds, where it counts as a waiting writer (so a running configure tail steps aside at its next unit) and is admitted once no reader or maintenance job holds the gate. The rerun starts from scratch and observes whatever changed meanwhile. No worker ever waits for the actor on the bind’s behalf.