Skip to main content
A Task is one unit of work submitted to a Worker. A Call is one invocation of a user function within that task. For block computation, a Call Builder turns source rows into Calls, and a Writer Plugin handles their outputs.

Task input

The chain and block used for reads belong in the relevant configuration or function arguments. The task identifier carries no chain context. See service API for request fields.

Call

  • Each Call supplies a function and positional arguments.
  • Calls have no input-order execution guarantee. Return an input identifier when you need to associate outputs with inputs.
  • A function can read EVM state or invoke a contract at an explicit block.
  • An EVM contract call inside a function is not a separate submitted Task.

Outputs

ReturnValueHandler returns the collected outputs as JSON. Without a Writer Plugin, the task does not expose function outputs as returned data. See configuration reference.

Visible states

Keep a WatchTasks stream attached while the task runs. Querying results does not replace this running connection. See execution semantics.

Summary

  • Task groups work; Call invokes one function.
  • Keep chain and block context explicit in configuration and arguments.
  • A task result and storage readiness answer different questions.
Continue reading: