|
Photomechanics API
|
Task custom extensions. More...
Static Public Member Functions | |
| static void | Forget (this Task task) |
| Forget the given task. More... | |
| static async Task< TResult > | WithTimeout< TResult > (Func< Task< TResult > > taskProvider, TimeSpan timeout) |
| Run provided asynchronous action with timeout. | |
| static async Task | WithTimeout (Func< Task > taskProvider, TimeSpan timeout) |
| Run provided asynchronous action with timeout. | |
Task custom extensions.
|
static |
Forget the given task.
Useful to get rid from async-related warnings.