本页还没有译文
本页 14 段还没译成Français,下面显示的是英文原文。EagerSyncHooks
还没翻译译自英文(tanstack.com)本页 14 段都还没译
type EagerSyncHooks = object;Defined in: definitions.ts:173
Eager sync mode hooks. Called once when the collection sync starts and stops.
Properties
onLoad()?
optional onLoad: () => CleanupFn | void | Promise<CleanupFn | void>;Defined in: definitions.ts:181
Called when the collection sync starts. Use this to set up external data sources (e.g. subscribing to a sync stream).
Returns
CleanupFn | void | Promise<CleanupFn | void>
A cleanup function that is called when the collection sync is cleaned up.
onLoadSubset?
optional onLoadSubset: never;Defined in: definitions.ts:182
syncMode?
optional syncMode: "eager";Defined in: definitions.ts:174
AI 翻译查看英文原文