HTTP-family adapter for an injected ExecutionPlane.Runtime.Client.
Incremental responses use explicit demand encoded as Runtime Client input.
Unary responses subscribe and request exactly one result. Runtime Client
implementations deliver ExecutionPlane.Runtime.Event values directly or
as {:execution_plane_runtime, execution_ref, event}. Output may carry the
ExecutionPlane.ExecutionResult under execution_result, but unary return
waits for the terminal receipt event and its non-empty receipt_ref.
This adapter never selects a local implementation or silently falls back around governed admission.
Summary
Functions
Loads a transport-safe HTTP-family payload at the effect boundary.
Encodes the frozen HTTP-family request as a transport-safe payload.
Functions
@spec decode_request(map()) :: {:ok, ExecutionPlane.Family.HTTPRequest.t()} | {:error, term()}
Loads a transport-safe HTTP-family payload at the effect boundary.
@spec encode_request(ExecutionPlane.Family.HTTPRequest.t()) :: map()
Encodes the frozen HTTP-family request as a transport-safe payload.