mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
5c437211b2
Former-commit-id: cfda0fc9ae
16 lines
313 B
C#
16 lines
313 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FFMpegCore.Test
|
|
{
|
|
static class TasksExtensions
|
|
{
|
|
public static T WaitForResult<T>(this Task<T> task)
|
|
{
|
|
task.Wait();
|
|
return task.Result;
|
|
}
|
|
}
|
|
}
|