Nito.AsyncEx.TaskHelper
Helper methods for working with tasks.
Executes a delegate synchronously, and captures its result in a task. The returned task is already completed.
Executes a delegate synchronously, and captures its result in a task. The returned task is already completed.