public static bool Wait(Task t, long millis) { return(TaskUtil.Wait(t, TimeSpan.FromMilliseconds(millis))); }
public static T Wait <T>(Task <T> t, long millis) { return(TaskUtil.Wait(t, TimeSpan.FromMilliseconds(millis))); }