Reference / @getenginex/sdk/extension / MutationCall
MutationCall<I, R>
What an adapter needs to build the mutationFn with its own attempt (e.g. one per hook instance). For SDK packages and adapters, not for apps.
Type Parameters
I
I
R
R
Properties
call
call: (
input,options) =>Promise<R>
Calls the client method with the input and the call options.
Parameters
input
I
options
Returns
Promise<R>
fixedKey
fixedKey:
string|undefined
Fixed key from the options (it wins over the attempt); undefined when there is none.
idempotent
idempotent:
boolean
The method sends Idempotency-Key.