This version is preview, if you want to use stable version, check 1.3.1.
2.0.x has many breaking changes, see 2.0.0-preview1 release notes.
Improvement
- Add JobHandle.WaitAsync(CancellationToken)
- Fix channel's cancellationTokenRegistration does not handle correctly
- Fix in UnityEditor performance issue
- Fix: does not work zero-allocation mechanism in release build
- .NET Core - UniTask to ValueTask becomes zero overhead
- .NET Core - coreapp3.1's UniTask.Yield becomes zero allocation
- .NET Core - Add ValueTask.AsUniTask
Breaking Changes
- lower Unity support version is changed to
2019.1
UniTaskVoid
can not await.- UnityWebRequest's AsyncOperation calls
UnityWebRequest.Abort()
when detect canceled IObservable<T>.ToUniTask
parameter order changed fromCancellationToken cancellationToken, bool useFirst
tobool useFirst, CancellationToken cancellationToken