Called after each module execution, even if an exception is thrown during execution.
- Namespace
- Statiq
.Common - Containing Type
- Module
Syntax
protected virtual Task FinallyAsync(IExecutionContext context)
Remarks
Override this method to clean up module state after execution.
Parameters
| Name | Type | Description |
|---|---|---|
| context | IExecutionContext | The execution context. |
Return Value
| Type | Description |
|---|---|
| Task |