DefaultExecutionStrategy.

InvokeFinallyAsync(Func<ICakeContext, Task>, ICakeContext) Method

Summary

Invokes the finally handler.
Namespace
Cake.Core
Containing Type
DefaultExecutionStrategy

Syntax

public Task InvokeFinallyAsync(Func<ICakeContext, Task> action, ICakeContext context)

Parameters

Name Type Description
action Func<ICakeContext, Task> The action.
context ICakeContext The context.

Return Value

Type Description
Task The awaitable task.