Skip to main content

mutate_blocking

Function mutate_blocking 

Source
pub fn mutate_blocking(
    verb: SessionVerb,
    mutation: &SessionMutation,
) -> Result<SessionMutationOutcome, SessionControlError>
Expand description

The same mutation as mutate for every door but the HTTP one — and every one of those doors works with calls that block the calling THREAD: the harness’s own CLI run to completion, supercode’s store, the orchestrator daemon’s socket, and the read-back each of them ends with.

A caller under a deadline runs this on a blocking task. Awaiting the async mutate instead parks the calling task inside a future that never yields, so no timeout wrapped around it can ever fire.