Skip to main content

Module context

Module context 

Source
Expand description

Plugin execution context.

Context is the main handle plugins use during task execution. It provides access to task metadata via TaskInfo, result pushing via ResultSink, and progress reporting back to the daemon.

Modulesยง

message
Internal result message types for the plugin-runtime channel.
result_sink ๐Ÿ”’
Result pushing during task execution.

Structsยง

Context
The main handle plugins interact with during task execution.
ContextInner ๐Ÿ”’
ProgressPayload ๐Ÿ”’
ResultSink
Handle for pushing results back to the daemon during task execution.
TaskInfo
Read-only view of task metadata: the task ID, sample file path, and key-value configuration submitted with the task.

Functionsยง

lock_or_err ๐Ÿ”’

Type Aliasesยง

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