本页还没有译文
本页 11 段还没译成Español,下面显示的是英文原文。MutationFn
还没翻译译自英文(tanstack.com)本页 11 段都还没译
type MutationFn<T> = (params) => Promise<any>;Defined in: packages/db/src/types.ts:143
Persists an optimistic transaction. Do not start or await collection or live-query preloads here. Sync commits queue behind this function, so waiting for preload work that needs one of those commits can deadlock the mutation. Use the collection adapter's mutation acknowledgement helper instead.
Type Parameters
T
T extends object = Record<string, unknown>
Parameters
params
Returns
Promise<any>
AI 翻译查看英文原文