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

InjectQueryOptions.md

20 lines544 Bytes

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