Skip to content

ReceiveMeshTaskResult

Part of Reusable workflows in the Python API reference.

Related guidance: shipped-tooling.

Runnable examples: receive_mesh_task.py.

from picogrid_ecn_client.workflows import ReceiveMeshTaskResult

Terminal identity plus retained requests handled before cleanup.

ReceiveMeshTaskResult(
*,
terminal_id: UUID,
registration: TaskRegistration,
contexts: tuple[TaskRequestContext, ...],
results: tuple[EchoResult, ...],
)

Source · workflows/tasks.py

NameTypeRequiredDefaultConstraintsDescription
terminal_idUUIDyesConfigured local terminal identity for the routed handler.
registrationTaskRegistrationyesPublic registration created for the echo handler.
contextstuple[TaskRequestContext, …]yesAll contexts from a positive-limit watch, or the most recently retained contexts from an unbounded watch.
resultstuple[EchoResult, …]yesResults corresponding to the retained request contexts.

Version 0.2.0 · branch main