Class FireAndForgetHelper
- Namespace
- ReactiveUI.Extensions.Async.Internals
- Assembly
- ReactiveUI.Extensions.dll
Provides a helper for executing async actions as fire-and-forget with exception swallowing. Used for async void callbacks (e.g. cancellation token registrations, signal handlers) where exceptions cannot propagate to a caller.
[ExcludeFromCodeCoverage]
public static class FireAndForgetHelper
- Inheritance
-
FireAndForgetHelper
Methods
Run(Func<ValueTask>)
Executes an async action as fire-and-forget, swallowing all exceptions.
public static void Run(Func<ValueTask> action)