FireAndForgetHelper class¶
Attributes: [ExcludeFromCodeCoverage]
Defined in
Namespace: ReactiveUI.Primitives.Async.Helpers
Assembly: ReactiveUI.Primitives.Async.Core.dll
Full name: ReactiveUI.Primitives.Async.Helpers.FireAndForgetHelper
Modifiers: public static
Summary¶
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.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481
Methods¶
| Name | Summary |
|---|---|
| static Run | Executes an async action as fire-and-forget, swallowing all exceptions. |