type EagerSyncHooks = object;
Defined in: definitions.ts:171
Eager sync mode hooks. Called once when the collection sync starts and stops.
optional onLoad: () => CleanupFn | void | Promise<CleanupFn | void>;
Defined in: definitions.ts:179
Called when the collection sync starts. Use this to set up external data sources (e.g. subscribing to a sync stream).
CleanupFn | void | Promise<CleanupFn | void>
A cleanup function that is called when the collection sync is cleaned up.
optional onLoadSubset: never;
Defined in: definitions.ts:180
optional syncMode: "eager";
Defined in: definitions.ts:172