Struct Continuation<T, TState>
- Namespace
- Kevlar
- Assembly
- Kevlar.dll
The rest of a shield pipeline, from a strategy's point of view. Invoking it runs every remaining strategy and finally the user's delegate. It may be invoked multiple times (retries, hedging) and with a forked context (hedging).
public readonly struct Continuation<T, TState>
Type Parameters
TTState
- Inherited Members
Methods
InvokeAsync(KevlarContext)
Runs the remainder of the pipeline. Never throws; failures are returned as outcomes. A default, uninitialized continuation returns an InvalidOperationException outcome.
public ValueTask<Outcome<T>> InvokeAsync(KevlarContext context)
Parameters
contextKevlarContext