addRequestToRequestController<TData, TVars> method

Future<void> addRequestToRequestController<TData, TVars>(
  1. OperationRequest<TData, TVars> request
)

adds a request to the requestController of the client on the isolate this is useful for re-fetch and pagination see https://ferrygraphql.com/docs/pagination

Implementation

Future<void> addRequestToRequestController<TData, TVars>(
    OperationRequest<TData, TVars> request) {
  _debugAssertUpdateResultTransferrable(request);
  return _handleSingleResponseCommand(
      (sendPort) => AddRequestToRequestControllerCommand(sendPort, request));
}