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§

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.