Releases: TheCodeTraveler/AsyncAwaitBestPractices
v3.1.0-pre5
New In This Release:
- Added
SafeFireAndForgetExtensions.RemoveDefaultExceptionHandling - Fixed InvalidHandleEventException bug when using the incorrect overload for
WeakEventManager<T>.HandleEvent - Fixed NullReferenceException when called
ICommand.Execute - Improved .NET Standard Dependency to .NET Standard 1.0
v3.1.0-pre4
New In This Release:
- Added
SafeFireAndForgetExtensions.RemoveDefaultExceptionHandling - Fixed InvalidHandleEventException bug when using the incorrect overload for
WeakEventManager<T>.HandleEvent - Fixed NullReferenceException when called
ICommand.Execute - Lowered .NET Standard Dependency to .NET Standard 1.0
v3.1.0-pre3
New In This Release:
- Added SafeFireAndForgetExtensions.RemoveDefaultExceptionHandling
- Fixed InvalidHandleEventException bug when using the incorrect overload for WeakEventManager<T>.HandleEvent
v3.1.0-pre2
New In This Release:
- Added SafeFireAndForgetExtensions.RemoveDefaultExceptionHandling
v3.0.0
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.
- Breaking Change: Changed default value to continueOnCapturedContext = false. This improves performance by not requiring a context switch when .SafeFireAndForget() and IAsyncCommand have completed.
v3.0.0-pre4
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.
v3.0.0-pre3
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.
- 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.
v3.0.0-pre2
New In This Release:
- Added support for
event Actionandevent 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 totruewill 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()andIAsyncCommandhave completed.
v3.0.0-pre1
New In This Release:
- Added support for event Action and event Action<T>
v2.1.1
New in this release:
- Performance improvements to
SafeFireAndForget