Skip to content

v3.0.0-pre4

Pre-release
Pre-release
Compare
Choose a tag to compare
@brminnick brminnick released this 14 Jul 02:06

New In This Release:
- Added support for event Action and event Action<T>
- Added support for .SafeFireAndForget<Exception>()
- 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.