i need to wait for my async void
to finish. It has some await Task.Delay
functions in it and I need them to finish before it continues. This void doesn't return anything so I don't see a reason to make it async Task<>
and I also shuffle an array inside this void and I declare some variables. So how can I do this ? Is async Task<>
the only way ? My void is not expecting any parameters/inputs.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…