using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace FFMpegCore.Test { static class TasksExtensions { public static T WaitForResult(this Task task) => task.ConfigureAwait(false).GetAwaiter().GetResult(); } }