Skip to main content

RunnerHandle

Type Alias RunnerHandle 

Source
pub type RunnerHandle = WorkerHandle<Result<()>>;
Expand description

A handle to a worker task spawned by WorkflowRuntime::spawn.

Dropping a RunnerHandle does not stop the worker: the task continues until the shutdown future passed to spawn resolves. Call shutdown or wait to stop or join the worker explicitly.

Aliased Typeยง

pub struct RunnerHandle { /* private fields */ }