ExecutionPlane.Process.Transport.Surface.Registry (execution_plane v0.1.0)

Copy Markdown View Source

Internal registry of built-in execution-surface adapters.

Summary

Types

fetch_error()

@type fetch_error() :: {:unsupported_surface_kind, atom() | term()}

Functions

adapter_selection_policy()

@spec adapter_selection_policy() ::
  ExecutionPlane.Contracts.AdapterSelectionPolicy.V1.t()

fetch(surface_kind)

@spec fetch(term()) :: {:ok, module()} | {:error, fetch_error()}

registered?(surface_kind)

@spec registered?(term()) :: boolean()

supported_surface_kinds()

@spec supported_surface_kinds() :: [atom(), ...]