Skip to content

v3.0.0-pre2

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

New 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.
  • Breaking Change: Changed default value to continueOnCapturedContext = false. This improves performance by not requiring a context switch when .SafeFireAndForget() and IAsyncCommand have completed.