Skip to main content

ResultSender

Type Alias ResultSender 

Source
pub type ResultSender = Sender<TaskResultMessage>;
Expand description

Sender half of the result channel between a plugin and its runtime.

The runtime creates one of these per task and hands it to Context. During on_task the context uses it to stream TaskResultMessages back to the daemon. It is None when no task is active.

Aliased Typeยง

pub struct ResultSender { /* private fields */ }