TypeSafeSDK.RuntimeCapabilities (TypeSafeSDK v0.4.1)

Copy Markdown View Source

Fail-closed TypeSafe-facing view of Pristine transport capabilities.

Discovery delegates exclusively to Pristine.RuntimeCapabilities.transport/1. TypeSafe does not infer support from adapter names or optional callbacks and never exposes transport context/options through this report.

Summary

Functions

check(client, requirements)

@spec check(
  TypeSafeSDK.Client.t() | Pristine.Client.t() | Pristine.Core.Context.t(),
  [atom()]
) ::
  :ok | {:error, TypeSafeSDK.Error.t()}

names()

@spec names() :: [atom()]

report(source)

require!(client, requirements)

@spec require!(
  TypeSafeSDK.Client.t() | Pristine.Client.t() | Pristine.Core.Context.t(),
  [atom()]
) ::
  :ok