Provider-native session control helpers for historical resume and interrupt-then-intervene flows.
Summary
Types
@type provider_or_session() :: ASM.Provider.provider_name() | pid()
@type resume_target() :: :checkpoint | :latest | String.t()
Functions
@spec checkpoint(pid()) :: {:ok, map() | nil} | {:error, ASM.Error.t()}
@spec continuation_from_checkpoint( map() | nil, keyword() ) :: {:ok, map()} | {:error, ASM.Error.t()}
@spec list_provider_sessions( provider_or_session(), keyword() ) :: {:ok, [ASM.SessionControl.Entry.t()]} | {:error, ASM.Error.t()}
@spec pause(pid(), String.t()) :: :ok | {:error, ASM.Error.t()}