Returns an applyUpdate function by wrapping the given update function and making the resulting data available through the returned resultRef.
applyUpdate
update
resultRef
Errors returned from update are returned by applyUpdate, data returned from update is assigned to the current value of resultRef.
A function that performs an update mutation and returns a response from a GraphQL API.
Returns an
applyUpdatefunction by wrapping the givenupdatefunction and making the resulting data available through the returnedresultRef.Errors returned from
updateare returned byapplyUpdate, data returned fromupdateis assigned to the current value ofresultRef.