AsyncUtils.RunSync<TResult>
public static TResult RunSync<TResult>(Func<Task`1> func,
	CancellationToken cancellationToken,
	TaskCreationOptions taskCreation,
	TaskContinuationOptions taskContinuation,
	TaskScheduler taskScheduler)

Parameters

Func<Task`1> func

CancellationToken cancellationToken

TaskCreationOptions taskCreation

TaskContinuationOptions taskContinuation

TaskScheduler taskScheduler

Overloads:


See also:

Class AsyncUtils

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic