Skip to content
0

katanakit-js / MutationScope

Type Alias: MutationScope ​

ts
type MutationScope = {
  id: string;
};

Defined in: node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:2550

Groups mutations so they run one after another instead of in parallel. Mutations that share the same id form a queue: while one is running, the others wait in isPaused: true state and resume automatically when their turn comes. Mutations with no scope always run in parallel.

Properties ​

PropertyTypeDefined in
idstringnode_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:2551

Released under the MIT License.