Wasm Directoryalpha
Function

request-cancel

Ask the invocation with job to cancel; returns whether the request was accepted (not whether it has stopped). Accepted only for a caller in the same workload as the job's owner. The target observes the request (via is-cancelled, or a dropped stream reader) and unwinds itself.

request-cancel: func(job: job-id) -> bool;