> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tappify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# TapQueryResult

> What useTapQuery and useTapServer return.

What `useTapQuery` and `useTapServer` return.

## Extended by

* [`TapStorageResult`](/extensions/reference/frontend-api/Interface.TapStorageResult)

## Type Parameters

### T

`T`

## Properties

### data

```ts theme={null}
data: T | undefined;
```

`undefined` until the first answer for this key arrives. A later call that
fails leaves the last answer in place and only sets `error`, so branch on
`error` to detect a failure, never on `data`.

***

### error

```ts theme={null}
error: Error | null;
```

***

### isLoading

```ts theme={null}
isLoading: boolean;
```

`true` only while the first answer for this key is in flight.

## Methods

### refetch()

```ts theme={null}
refetch(): void;
```

Asks again now, whether or not the cached answer has gone stale.

#### Returns

`void`
