MCPcopy Create free account
hub / github.com/TanStack/query / meta

Method meta

packages/query-core/src/mutation.ts:187–189  ·  view source on GitHub ↗

* The `meta` object passed in the mutation's options, if any. * @returns The mutation's `meta`, or `undefined` if none was set.

()

Source from the content-addressed store, hash-verified

185 * @returns The mutation's `meta`, or `undefined` if none was set.
186 */
187 get meta(): MutationMeta | undefined {
188 return this.options.meta
189 }
190
191 /**
192 * Subscribes an observer to the mutation and stops its garbage collection.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected