The input parameters a
Client passes to an
Exchange when it's created.
This input contains the
Client itself, a
dispatchDebug function for the
forward, which is set to the next exchange's ExchangeIO function in the exchange pipeline.
Exchange's ExchangeIO function in the pipeline.
Exchanges are like middleware function, and are henced composed like a recursive pipeline.
Exchange will receive the next
Exchange's ExchangeIO function which they
then call to compose each other.
Exchange calls the next, this creates a pipeline where operations are forwarded
in sequence and
OperationResults from the next
Exchange are combined with the current.
Issues a debug event to the
@urql/devtools are set up, this dispatch function issues events to the
These events give the devtools more granular insights on what's going on in exchanges asynchronously,
OperationResults only signify the “start” and “end” of a request.
Generated using TypeDoc