* Returns all mutations within the cache. * * This is not typically needed for most applications, but can come in handy when needing more * information about a mutation in rare scenarios. * * @example * ```ts * const mutationCache = queryClient.getMutationCache() * * const
()
| 257 | * ``` |
| 258 | */ |
| 259 | getAll(): Array<Mutation> { |
| 260 | return Array.from(this.#mutations) |
| 261 | } |
| 262 | |
| 263 | /** |
| 264 | * A slightly more advanced method that can be used to get an existing mutation instance from |
no outgoing calls
no test coverage detected