uses System.Threading.Tasks; begin var tt := new Task(()->1); var q := tt.GetAwaiter end.