v3.0.0-pre2
Pre-release
Pre-release
New In This Release:
- Added support for
event Action
andevent Action<T>
- Added support for
.SafeFireAndForget<TException>()
- Added
SafeFireAndForgetExtensions.SetDefaultExceptionHandling(Action<Exception> onException)
to set a default action for every call toSafeFireAndForget
- Added
SafeFireAndForgetExtensions.Initialize(bool shouldAlwaysRethrowException = false)
. When set totrue
will rethrow every exception caught bySafeFireAndForget
. Warning:SafeFireAndForgetExtensions.Initialize(true)
is only recommended for DEBUG environments. - Breaking Change: Changed default value to
continueOnCapturedContext = false
. This improves performance by not requiring a context switch when.SafeFireAndForget()
andIAsyncCommand
have completed.