You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicvoidOnCompleted(Actioncontinuation)=>_=ThreadPool.QueueUserWorkItem(ThreadPoolPost!,continuation);// null-forgiving: continuation is not null, so ThreadPoolPost doesn't need to accept a null.
46
+
publicvoidOnCompleted(Actioncontinuation){
47
+
Logging.GetLogger<EnterThreadPoolAwaitable>().Debug("Exiting UI thread for action {id}.",continuation.GetHashCode());// Stack trace enricher will add the stack trace here.
48
+
_=ThreadPool.QueueUserWorkItem(ThreadPoolPost!,()=>{// null-forgiving: this action is not null, so ThreadPoolPost doesn't need to accept a null.
49
+
Logging.GetLogger<EnterThreadPoolAwaitable>().Debug("Resuming action {id} on a thread-pool thread.",continuation.GetHashCode());
publicvoidOnCompleted(Actioncontinuation)=>Ui.DispatchInMainThread(MainThreadPost!,continuation);// null-forgiving: continuation is not null, so MainThreadPost doesn't need to accept a null.
62
+
publicvoidOnCompleted(Actioncontinuation){
63
+
Logging.GetLogger<EnterMainThreadAwaitable>().Debug("Entering UI thread for action {id}.",continuation.GetHashCode());// Stack trace enricher will add the stack trace here.
64
+
Ui.DispatchInMainThread(MainThreadPost!,()=>{// null-forgiving: this action is not null, so MainThreadPost doesn't need to accept a null.
65
+
Logging.GetLogger<EnterMainThreadAwaitable>().Debug("Resuming action {id} on the UI thread.",continuation.GetHashCode());
0 commit comments