Module apollo_router::layers::async_checkpoint
source · Expand description
Asynchronous Checkpoint
Provides a general mechanism for controlling the flow of a request. Useful in any situation where the caller wishes to provide control flow for a request.
If the evaluated closure succeeds then the request is passed onto the next service in the chain of responsibilities. If it fails, then the control flow is broken and a response is passed back to the invoking service.
Structs§
Layerfor Asynchronous Checkpoints. SeeServiceBuilderExt::checkpoint_async().Servicefor Asynchronous Checkpoints. SeeServiceBuilderExt::checkpoint_async().Layerfor OneShot (single use) Asynchronous Checkpoints. SeeServiceBuilderExt::oneshot_checkpoint_async().Servicefor OneShot (single use) Asynchronous Checkpoints. SeeServiceBuilderExt::oneshot_checkpoint_async().