Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

InjectQueryOptions.md

22 lines577 Bytes

1---
2id: InjectQueryOptions
3title: InjectQueryOptions
4---
5​
6# Interface: InjectQueryOptions
7​
8Defined in: [inject-query.ts:20](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-query.ts#L20)
9​
10## Properties
11​
12### injector?
13​
14```ts
15optional injector: Injector;
16```
17​
18Defined in: [inject-query.ts:26](https://github.com/TanStack/query/blob/main/packages/angular-query-experimental/src/inject-query.ts#L26)
19​
20The `Injector` in which to create the query.
21​
22If this is not provided, the current injection context will be used instead (via `inject`).