public static TaskAwaiter GetAwaiter(this TimeSpan timespan) { return Task.Delay(timespan).GetAwaiter(); } }