I have some methods returning Task on which I can await at will. I\'d like to have those Tasks executed on a custom TaskScheduler>
Task
await
TaskScheduler>
Can you fit for this method call:
await Task.Factory.StartNew( () => { /* to do what you need */ }, CancellationToken.None, /* you can change as you need */ TaskCreationOptions.None, /* you can change as you need */ customScheduler);