Executes fn with diagnostic capture suppressed for both synchronous and async work
inside the current context. Prevents infinite recursion when diagnostic writers
perform database or logging operations.
With a context provider registered, suppression lives only in the async-local context, so
other requests keep capturing. Without one, a process-wide counter suppresses capture until fn settles.
Executes
fnwith diagnostic capture suppressed for both synchronous and async work inside the current context. Prevents infinite recursion when diagnostic writers perform database or logging operations.With a context provider registered, suppression lives only in the async-local context, so other requests keep capturing. Without one, a process-wide counter suppresses capture until
fnsettles.