Packages

Execution Plane process launch, stdio, PTY, and process-session runtime.

Current section

Files

Jump to
execution_plane_process lib execution_plane process transport surface adapter.ex
Raw

lib/execution_plane/process/transport/surface/adapter.ex

defmodule ExecutionPlane.Process.Transport.Surface.Adapter do
@moduledoc """
Internal behaviour for execution-surface adapters owned by the core.
"""
alias ExecutionPlane.Process.Transport.Surface.Capabilities
@type normalized_transport_options :: keyword()
@callback surface_kind() :: ExecutionPlane.Process.Transport.Surface.adapter_surface_kind()
@callback capabilities() :: Capabilities.t()
@callback normalize_transport_options(term()) ::
{:ok, normalized_transport_options()}
| {:error, {:invalid_transport_options, term()}}
end