This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
Ver 6.1.1
UniRx.Async
- Add await support to
JobHandle
- Add await support to
WWW
- Add await support to
ReactiveProperty
- Add await support to
ReactiveCommand
- Add await support to uGUI events(
button.GetAsyncEventHandler
,button.OnCliCkAsync
, etc...) - Add await support to monobehaviour events(
UniRx.Async.Triggers
) - Add
UniTask[T].ToCoroutine
- Add
UniTask.WaitUntil
- Add
UniTask.WaitWhile
- Add
UniTask.WaitUntilValueChanged
- Add
UniTask.WaitUntilValueChangedWithIsDestroyed
- Add
UniTask.SwitchToThreadPool
- Add
UniTask.SwitchToTaskPool
- Add
UniTask.ConfigureAwait
- Add
UniTask.WithCancellation
- Add
UniTask.FromCanceled
- Add
UniTask.Forget
- Add
UniTask.ContinueWith
- Add
Task.ConfigureAwait
- Add
UniTask.DelayFrame
- Add
UniTask.Delay(..., bool ignoreTimeScale = false, ...)
parameter - Add
AsyncEventHandler
that enables async/await based eventhandling - Add
UniRx.Async.Triggers
that enables async/await based monobehaviour event handling - Add
Progress.Create
that is lightweight Progress(no use SynchronizationContext) factory - Add assembly definition
UniRx.Async
- Improve
UniRx.Async.Delay, DelayFrame, Wait, WaitUntil, WaitUntilValueChanged, WaitUntilValueChangedWithIsDestroyed
can reuse task to reduce garbage - Improve Unity AsyncObject await handling(has three methods
GetAwaiter
,ToUniTask
,ConfigureAwait
) - Improve
UniTask[T].Timeout
cancellation handling more correctly - Fix general cancellation handling in 6.0.0's async operators
- Fix ReadOnlyReactiveProperty.Dispose does not unsubcribe source subscription(from 6.0.0)
- Fix PlayerLoop item handling
- Breaking Changes
UniTask.Delay(int frameCount)
toUniTask.Delay(int millisecondsDelay)
- Breaking Changes
Promise[T]
toUniTaskCompletionSource[T]
- Breaking Changes
IPromise[T]
toIAwaiter[T]
UniRx
- Add
IObservable[T].ToUniTask
- Add
UniTask[T].ToObservable
- Add assembly definition
UniRx
- Auto publish OnError message from "FromCoroutine"/"FromMicroCoroutine" #232, thanks @TORISOUP
- Fixed bug, caused by boolean typo in
ObjectPool.StartShrinkTimer
. #248, thanks @Joshualight - Add joint trigger (OnJointBreak() + OnJointBreak2D()) #249, thanks @lopespm
- keep stacktrace when throws an exception #251, thanks @jimmylovesiren
- Fixed TakeUntil to respect official definition #269, thanks @silphid
- If the field is in the base class, the inspector can not access it. Fix. #284, thanks @Bezarius
- Change "Sample" operator behavior. #296, thanks @TORISOUP
- Fix countChanged dispose #302, thanks @RDeluxe
- Add try catch block to handle exception when finishing ContinueWith #312, thanks @sheepbeo
- Add notifyCurrentCount option to ReactiveDictionary.ObserveCountChanged #321, thanks @faidra
- fix ContinueWith disposing immediately #322, thanks @jimmylovesiren