Module task_processor

Source
Expand description

Task processor for executing off-chain operators on behalf of on-chain applications.

The task processor watches specified applications for requests to execute off-chain tasks, runs external operator binaries, and submits the results back to the chain.

Structs§

ProcessorActions
The off-chain actions requested by the service of an on-chain application.
Task
An off-chain task requested by an on-chain application.
TaskOutcome
The result of executing an off-chain operator.
TaskProcessor
A task processor that watches applications and executes off-chain operators.

Functions§

parse_operator
Parse an operator mapping in the format name=path or just name. If only name is provided, the path defaults to the name itself.

Type Aliases§

OperatorMap
A map from operator names to their binary paths.