C# Class ttaenc.ProcessExtensions

Exibir arquivo Open project: sidiandi/ttaudio

Public Methods

Method Description
WaitForExitAsync ( this process, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Waits asynchronously for the process to exit.

Method Details

WaitForExitAsync() public static method

Waits asynchronously for the process to exit.
public static WaitForExitAsync ( this process, CancellationToken cancellationToken = default(CancellationToken) ) : Task
process this The process to wait for cancellation.
cancellationToken System.Threading.CancellationToken A cancellation token. If invoked, the task will return /// immediately as canceled and the process will be killed.
return Task