graphql-tools-monorepo / executors/apollo-link/src / ExecutorLink
Class: ExecutorLink
executors/apollo-link/src.ExecutorLink
Hierarchy
- 
ApolloLink↳ ExecutorLink
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ExecutorLink(executor): ExecutorLink
Parameters
| Name | Type | 
|---|---|
| executor | Executor | 
Returns
Overrides
apollo.ApolloLink.constructor
Defined in
packages/executors/apollo-link/src/index.ts:47
Properties
getMemoryInternals
• Optional getMemoryInternals: () => unknown
Can be provided by a link that has an internal cache to report it’s memory details.
Type declaration
▸ (): unknown
Returns
unknown
Inherited from
apollo.ApolloLink.getMemoryInternals
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:30
left
• Optional Readonly left: ApolloLink
Used to iterate through all links that are concatenations or split links.
Inherited from
apollo.ApolloLink.left
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:20
right
• Optional Readonly right: ApolloLink
Used to iterate through all links that are concatenations or split links.
Inherited from
apollo.ApolloLink.right
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:25
Methods
concat
▸ concat(next): ApolloLink
Parameters
| Name | Type | 
|---|---|
| next | RequestHandler|ApolloLink | 
Returns
ApolloLink
Inherited from
apollo.ApolloLink.concat
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:12
request
▸ request(operation, forward?): null | Observable<FetchResult>
Parameters
| Name | Type | 
|---|---|
| operation | Operation | 
| forward? | NextLink | 
Returns
null | Observable<FetchResult>
Inherited from
apollo.ApolloLink.request
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:13
setOnError
▸ setOnError(fn): this
Parameters
| Name | Type | 
|---|---|
| fn | ( error:any,observer?:Observer<FetchResult>) =>false|void | 
Returns
this
Inherited from
apollo.ApolloLink.setOnError
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:15
split
▸ split(test, left, right?): ApolloLink
Parameters
| Name | Type | 
|---|---|
| test | ( op:Operation) =>boolean | 
| left | RequestHandler|ApolloLink | 
| right? | RequestHandler|ApolloLink | 
Returns
ApolloLink
Inherited from
apollo.ApolloLink.split
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:11
concat
▸ concat(first, second): ApolloLink
Parameters
| Name | Type | 
|---|---|
| first | RequestHandler|ApolloLink | 
| second | RequestHandler|ApolloLink | 
Returns
ApolloLink
Inherited from
apollo.ApolloLink.concat
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:9
empty
▸ empty(): ApolloLink
Returns
ApolloLink
Inherited from
apollo.ApolloLink.empty
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:5
execute
▸ execute(link, operation): Observable<FetchResult>
Parameters
| Name | Type | 
|---|---|
| link | ApolloLink | 
| operation | GraphQLRequest<Record<string,any>> | 
Returns
Observable<FetchResult>
Inherited from
apollo.ApolloLink.execute
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:8
from
▸ from(links): ApolloLink
Parameters
| Name | Type | 
|---|---|
| links | ( RequestHandler|ApolloLink)[] | 
Returns
ApolloLink
Inherited from
apollo.ApolloLink.from
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:6
split
▸ split(test, left, right?): ApolloLink
Parameters
| Name | Type | 
|---|---|
| test | ( op:Operation) =>boolean | 
| left | RequestHandler|ApolloLink | 
| right? | RequestHandler|ApolloLink | 
Returns
ApolloLink
Inherited from
apollo.ApolloLink.split
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:7