Class: AwaitVariablesLink
links/src.AwaitVariablesLink
Hierarchy
-
ApolloLink
↳
AwaitVariablesLink
Table of contents
Constructors
Methods
Constructors
constructor
• new AwaitVariablesLink(request?
)
Parameters
Name | Type |
---|---|
request? | RequestHandler |
Inherited from
apollo.ApolloLink.constructor
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:9
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:11
request
▸ request(operation
, forward
): Observable
<FetchResult
<Record
<string
, any
>, Record
<string
, any
>, Record
<string
, any
>>>
Parameters
Name | Type |
---|---|
operation | Operation |
forward | NextLink |
Returns
Observable
<FetchResult
<Record
<string
, any
>, Record
<string
, any
>, Record
<string
, any
>>>
Overrides
apollo.ApolloLink.request
Defined in
packages/links/src/AwaitVariablesLink.ts:28 (opens in a new tab)
setOnError
▸ setOnError(fn
): AwaitVariablesLink
Parameters
Name | Type |
---|---|
fn | (error : any , observer? : Observer <FetchResult >) => false | void |
Returns
Inherited from
apollo.ApolloLink.setOnError
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:14
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:10
concat
▸ Static
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:8
empty
▸ Static
empty(): ApolloLink
Returns
ApolloLink
Inherited from
apollo.ApolloLink.empty
Defined in
node_modules/@apollo/client/link/core/ApolloLink.d.ts:4
execute
▸ Static
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:7
from
▸ Static
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:5
split
▸ Static
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:6