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