What's the difference between doing the following:
async Task<T> method(){
var r = await dynamodb.GetItemAsync(...)
return r.Item;
}
vs
async Task<T> method(){
var task = dynamodb.GetItemAsync(...)
return task.Result.Item;
}
In my case, for some reason, only the second works. The first one never seems to end.