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
If global mode is disabled (appropriate for most server based applications), the
45
+
ambient scope data is stored as an `AsyncLocal` and so it will flow with the execution
46
+
context. Stephen Toub's blog post on [ExecutionContext vs SynchronizationContext](https://devblogs.microsoft.com/pfxteam/executioncontext-vs-synchronizationcontext/)
47
+
explains that concept in more detail.
48
+
49
+
If global mode is enabled (appropriate for desktop applications), ambient scope data is
50
+
stored as a Singleton and available globally. This means you can set context (such as
51
+
the user logged into the application) once and it will be sent with all events, regardless
52
+
of whether the event was captured on the UI thread or a background thread.
If global mode is disabled (appropriate for most server based applications), the
45
+
ambient scope data is stored as an `AsyncLocal` and so it will flow with the execution
46
+
context. Stephen Toub's blog post on [ExecutionContext vs SynchronizationContext](https://devblogs.microsoft.com/pfxteam/executioncontext-vs-synchronizationcontext/)
47
+
explains that concept in more detail.
48
+
49
+
If global mode is enabled (appropriate for desktop applications), ambient scope data is
50
+
stored as a Singleton and available globally. This means you can set context (such as
51
+
the user logged into the application) once and it will be sent with all events, regardless
52
+
of whether the event was captured on the UI thread or a background thread.
If global mode is disabled (appropriate for most server based applications), the
45
+
ambient scope data is stored as an `AsyncLocal` and so it will flow with the execution
46
+
context. Stephen Toub's blog post on [ExecutionContext vs SynchronizationContext](https://devblogs.microsoft.com/pfxteam/executioncontext-vs-synchronizationcontext/)
47
+
explains that concept in more detail.
48
+
49
+
If global mode is enabled (appropriate for desktop applications), ambient scope data is
50
+
stored as a Singleton and available globally. This means you can set context (such as
51
+
the user logged into the application) once and it will be sent with all events, regardless
52
+
of whether the event was captured on the UI thread or a background thread.
0 commit comments