This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
ver 6.0.0
Improvement platform supports
- Support .NET Standard 2.0
- Support .NET 4.x
- Support UWP on .NET/IL2CPP
- Support C# 7.x on Incremental Compiler
UniRx.Async
module on Unity Incremental Compiler(C# 7.x)
UniRx.Async
is custom async/await support instead of Task
.
This does not depend UniRx
so you can use separate UniRx.Async
package without UniRx
.
- Add
UniTask
,UniTask<T>
,UniTaskVoid
instead ofTask
,Task<T>
andvoid
- There work on custom async method builder in
async/await
(uses C# 7.0 task-like feature) - It no depends
Task
andSynchronizationContext
, completely unity threading friendly and achives no-overhead, less garbage UniTask.Delay
,UniTask.Yield
,UniTask.Timeout
that is frame-based timer operators(no uses thread so works on WebGL publish) driven by custom PlayerLoop(Unity 2018 experimental feature)UniTask.WhenAll
, same asTask.WhenAll
but you can get awaited value by tuple deconsruction syntaxUniTask.WhenAny
, same asTask.WhenAny
but you can get which index winUniTask.ctor(Func<UniTask>)
is like the embededAsyncLazy<T>
Promise<T>
is the lightweight edition ofTaskCompletionSource<T>
, the API is same as EcmaScript's Promise- await support for unity async objects(
AsyncOperation
,ResourceRequest
,UnityWebRequestAsyncOperation
,IEnumerator
)
Redesigned ReactiveProperty and ReadOnlyReactiveProperty
- Inlined publisher(prev design uses
Subject<T>
, current uses self iteration) - Returns subscription as node-self(does not create extra garbage on subscribe)
- Removed
ReactiveProperty.ctor(IObservable<T>)
overload - Modified
IObservable<T>.ToReactiveProperty
returnsIReadOnlyReactiveProperty<T>
Removed obsolete components
IEnumerable<T>.AsSafeEnumerable<T>
LazyTask<T>
UniRxSynchronizationContext
MainThreadDispatchType.AfterUpdate
ObservableMonoBehaviour
TypedMonoBehaviour
IPresenter
,PresenterBase
,PresenterBase<T>