Skip to content

v0.9.3

Compare
Choose a tag to compare
@Arvtesh Arvtesh released this 09 Jun 15:22

Added

  • Added push-based progress reporting support.
  • Added AsyncResult.Delay(float) overloads.
  • Added AsyncCreationOptions.SuppressCancellation option.
  • Added update sources for LateUpdate, FixedUpdate and end-of-frame updates.
  • Added SynchronizationContext for the main thread (if not set by Unity).
  • Added methods AsyncUtility.PostToMainThread, AsyncUtility.SendToMainThread as AsyncUtility.InvokeOnMainThread.
  • Added new FromAction overloads.

Changed

  • Significantly reduced number of memory allocations when adding continuations.
  • Changed signature of the IAsyncContinuation.Invoke method.
  • Changed AsyncResult.OnCancel implementation to do nothing (previously it threw NotSupportedException).

Fixed

  • Fixed exception when removing listeners while in AsyncUpdateSource.OnError / AsyncUpdateSource.OnCompleted / AsyncUpdateSource.Dispose.
  • Fixed AsyncResult.MoveNext to always return true while the operation is not completed.
  • Fixed AsyncResult construction code not working as intended when AsyncCreationOptions are specified.

Removed

  • Removed AsyncOperationCallback delegate type.