proceed

open fun <D : Operation.Data?> proceed(@NotNull request: ApolloRequest<D>, @NotNull callBack: ApolloCallback<D>)

Passes the control over to the next ApolloInterceptor in the responsibility chain and immediately exits as this is a non-blocking call. In order to receive the results back, pass in a callback which will handle the received response or error.

Parameters

request

outgoing request object.

callBack

the callback which will handle the response or a failure exception.