Shared prepared TypeSafe contracts.
This module centralizes the parts of TypeSafeSDK we want to reuse across
many actors:
prepare!/1- stable prepared fingerprints
evaluate/4evaluate_stream/4evaluate_many/4
Summary
Functions
Memo identity including effective evaluation options; operational batching controls are excluded.
Functions
@spec batch_many( TypeSafeSDK.Client.t(), Enumerable.t(), TypeSafeSDK.Prepared.t() | keyword(), keyword() ) :: list()
@spec batch_stream( TypeSafeSDK.Client.t(), Enumerable.t(), TypeSafeSDK.Prepared.t() | keyword(), keyword() ) :: Enumerable.t()
@spec evaluate( TypeSafeSDK.Client.t(), term(), TypeSafeSDK.Prepared.t() | keyword(), keyword() ) :: {:ok, term()} | {:error, term()}
@spec fingerprint(TypeSafeSDK.Prepared.t()) :: String.t()
@spec memo_key(term(), TypeSafeSDK.Prepared.t()) :: String.t()
@spec memo_key(term(), TypeSafeSDK.Prepared.t(), keyword()) :: String.t()
Memo identity including effective evaluation options; operational batching controls are excluded.
@spec new!(keyword()) :: TypeSafeSDK.Prepared.t()