QW
Topics
12 Feb 2025, 09:50
95
3
Replies
qwer1993
18 Feb 2025, 07:24
( Updated at: 28 Feb 2025, 09:09 )
I figured it out myself. If anybody need somehting similar just try this pattern (BeginInvokeOnMainThread
very important otherwise your code will be buggy and forget the “await” operator it will not work because thread will be changed after await):
Task.Delay(waitInMs)
.ContinueWith((t) => BeginInvokeOnMainThread(() => yourRetryOperation()));
@qwer1993
qwer1993
18 Feb 2025, 07:24 ( Updated at: 28 Feb 2025, 09:09 )
I figured it out myself. If anybody need somehting similar just try this pattern (
BeginInvokeOnMainThread
very important otherwise your code will be buggy and forget the “await” operator it will not work because thread will be changed after await):@qwer1993