Called after each module execution.
- Namespace
- Statiq
.Common - Containing Type
- Module
Syntax
protected virtual Task AfterExecutionAsync(IExecutionContext context, ExecutionOutputs outputs)
Remarks
Override this method to examine or adjust the module outputs.
If an exception is thrown during module execution, this method is never called.
Use
FinallyAsync(IExecutionContext)
to clean up module state after execution.
Parameters
Name | Type | Description |
---|---|---|
context | IExecutionContext | The execution context. |
outputs | ExecutionOutputs |
The module outputs which can be modified by changing the Outputs property.
|
Return Value
Type | Description |
---|---|
Task |