Skip to contents

Stops the Mirai worker owned by a promise returned from tempest_run_async(). Cancellation is idempotent after a run has settled.

Usage

tempest_run_cancel(run)

Arguments

run

A tempest_async_run returned by tempest_run_async().

Value

Invisibly returns TRUE when cancellation was requested and FALSE when the run had already settled.