Use an async method. Use await Task.Delay(1) or await Task.Yield(); to flush changes. private async Task AsyncLongFunc() // this is an async task ...
確定! 回上一頁