ExecutionPlane.Process.RuntimeClientGateway (ExecutionPlaneProcess v0.1.2)

Copy Markdown View Source

Process-family adapter for an injected ExecutionPlane.Runtime.Client.

This module performs no client selection and starts no local fallback. A managed composition must inject the exact Runtime Client and its admission envelope for every operation.

Summary

Functions

Loads a transport-safe process-family payload at the effect boundary.

Encodes the frozen process-family request as a transport-safe payload.

Functions

decode_request(attrs)

@spec decode_request(map()) ::
  {:ok, ExecutionPlane.Family.ProcessRequest.t()} | {:error, term()}

Loads a transport-safe process-family payload at the effect boundary.

encode_request(request)

@spec encode_request(ExecutionPlane.Family.ProcessRequest.t()) :: map()

Encodes the frozen process-family request as a transport-safe payload.