Skip to main content

Module runtime_dispatch

Module runtime_dispatch 

Source
Expand description

Wire contract for dispatching work from a flow to a separate runtime (sorla / operala / agentic) over a pub/sub transport. Shared by the runner and every runtime-side bridge so both ends agree on the message payload.

Structs§

DispatchError
Structured error returned by a runtime when a dispatch fails.
RuntimeDispatchRequest
Payload of a greentic.<runtime>.request.v1 message.
RuntimeDispatchResponse
Payload of a greentic.<runtime>.response.v1 message. The transport correlation id MUST echo the request’s.

Enums§

DispatchMode
Whether the flow blocks for a response (Await) or continues immediately after publishing the request (FireAndForget).

Functions§

request_topic
Request topic/subject for a runtime, e.g. greentic.sorla.request.v1.
response_topic
Response topic/subject for a runtime, e.g. greentic.sorla.response.v1.