<PackageReference Include="Nito.Disposables" Version="2.4.0" />

Nito.Disposables.AsyncDisposeFlags

public enum AsyncDisposeFlags
Flags to control asynchronous disposal.

Execute multiple asynchronous disposal methods concurrently. All asynchronous disposal methods are started, and then asynchronously wait for all of them to complete.

Execute multiple asynchronous disposal methods serially. Each asynchronous disposal method will not start until the previous one has completed.