Hierarchy

  • QueryCacheConfig

Properties

onError?: ((error, query) => void)

Type declaration

    • (error, query): void
    • Parameters

      • error: unknown
      • query: Query<unknown, unknown, unknown, QueryKey>

      Returns void

onSettled?: ((data, error, query) => void)

Type declaration

    • (data, error, query): void
    • Parameters

      • data: unknown
      • error: unknown
      • query: Query<unknown, unknown, unknown, QueryKey>

      Returns void

onSuccess?: ((data, query) => void)

Type declaration

    • (data, query): void
    • Parameters

      Returns void