Table of Contents

Method AddAsyncAction

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

AddAsyncAction(Func<ValueTask>)

Add an action to the list of things to be done during disposal.

public void AddAsyncAction(Func<ValueTask> cleanupAction)

Parameters

cleanupAction Func<ValueTask>

The cleanup action.