Module async_checkpoint

Module 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.

See Layer and Service for more details.

Structsยง

AsyncCheckpointLayer
Layer for Asynchronous Checkpoints. See ServiceBuilderExt::checkpoint_async().
AsyncCheckpointService
Service for Asynchronous Checkpoints. See ServiceBuilderExt::checkpoint_async().