Skip to content

v0.9.0

Compare
Choose a tag to compare
@Arvtesh Arvtesh released this 24 Apr 17:25
· 1 commit to 564607d6dae92f69e371d21b15888f7def8d55b7 since this release

Added

  • Added AsyncContinuationOptions.
  • Added AsyncCreationOptions.
  • Added Promise-like extensions Then, ThenAll, ThenAny, Rebind, Catch, Finally and Done.
  • Added Unwrap extension methods.
  • Added FromTask/FromObservable helpers.
  • Added FromAction helpers.
  • Added ToAsync extension method for IObservable interface.
  • Added TryAddContinuation/RemoveContinuation methods to IAsyncOperationEvents for non-delegate continuations.
  • Added IAsyncUpdatable and IAsyncUpdateSource interfaces.
  • Added Delay/Retry overload that uses IAsyncUpdateSource-based service for time management.
  • Added cancellation support (IAsyncCancellable interface, WithCancellation extension method and many implementation changes).
  • Added Wait/Join overloads with CancellationToken argument.

Changed

  • Changed ContinueWith extension signatures to match corresponding Task methods.
  • Changed IAsyncOperation.Exception to always return an exception instance if completed with non-success.
  • Changed AddCompletionCallback/AddContinuation to instance methods (instead of extensions).

Fixed

  • Fixed exception not initialized properly for canceled operations sometimes.

Removed

  • Removed GetAwaiter/ConfigureAwait instance methods from AsyncResult to avoid code duplication (extension methods should be used).
  • Removed all AsyncCompletionSource methods having completedSynchronously argument.