Interface QueryBehavior<TQueryFnData, TError, TData, TQueryKey>

Type Parameters

  • TQueryFnData = unknown

  • TError = unknown

  • TData = TQueryFnData

  • TQueryKey extends QueryKey = QueryKey

Hierarchy

  • QueryBehavior

Properties

Properties

onFetch: ((context) => void)

Type declaration

    • (context): void
    • Parameters

      • context: FetchContext<TQueryFnData, TError, TData, TQueryKey>

      Returns void