# NetworkMode

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

```ts
type NetworkMode = "online" | "always" | "offlineFirst";
```

Defined in: [packages/query-core/src/types.ts:339](https://github.com/TanStack/query/blob/main/packages/query-core/src/types.ts#L339)
