Commit Graph

430 Commits (90c81613acd9d652644a891bd7fda5eb91b42979)

Author SHA1 Message Date
neuecc 4e460c11ca 2.0.34 2020-09-16 09:48:57 +09:00
neuecc 9313969314 2.0.33 2020-09-15 06:53:58 +09:00
neuecc a40f89a922 Merge remote-tracking branch 'origin/master' 2020-09-15 06:35:28 +09:00
neuecc e0d8410b62 fix IEnumerator.ToUniTask, does not work correctly when coroutine complete immediately 2020-09-15 06:35:22 +09:00
c0nd3v 81b4fcfac1 Fixed AwaitForAllAssets() 2020-09-11 10:41:41 -04:00
hikari 65622b01f6
[Unwrap] add ConfigureAwait 2020-09-09 14:15:03 +09:00
hikari 87dd5f13fd
[Unwrap()] fix: remove type parameter 2020-09-09 14:05:37 +09:00
neuecc 7bd4b6faf7 2.0.32 2020-09-07 18:52:11 +09:00
neuecc 35a893ad9e Add UniTask.RunOnThreadPool 2020-09-07 17:56:02 +09:00
Yoshifumi Kawai 4955ed18f1
Merge pull request #157 from RamType-0/OptimizeConsumeEnumerator
Optimize EnumeratorPromise.ConsumeEnumerator while consuming CustomYieldInstruction
2020-09-07 17:23:08 +09:00
Yoshifumi Kawai fe462328ab
Merge pull request #148 from RamType-0/TaskPoolNodeByRef
Use ref T for ITaskPoolNode<T>.NextNode
2020-09-07 15:33:22 +09:00
Yoshifumi Kawai 5136d92efa
Merge pull request #147 from RamType-0/OptimizeInternalContinuationIteration
Optimize ContinuationQueue and PlayerLoopRunner iteration
2020-09-07 15:32:50 +09:00
RamType0 227f7872cb Remove comments 2020-09-02 13:19:11 +09:00
Ram.Type-0 725b2fdc35 Format comment 2020-09-01 21:25:43 +09:00
Ram.Type-0 75abc8059f Optimize EnumeratorPromise.ConsumeEnumerator while consuming CustomYieldInstruction 2020-09-01 21:18:13 +09:00
RamType0 f1193743c8 Remove deprecated comment 2020-09-01 11:53:10 +09:00
Ram.Type-0 109730eacd Add missing migration from previous one 2020-08-30 14:18:55 +09:00
Ram.Type-0 1f736afe86 Revert change for ContinuationQueue.RunCore 2020-08-30 13:53:29 +09:00
Ram.Type-0 69c0c362e9 Fix PlayerLoopRunner at PlayerLoopTiming.Initialization is not assigned to PlayerLoopHelper.runners[0] 2020-08-28 21:15:45 +09:00
RamType0 3bb446556a Use ref T for ITaskPoolNode<T>.NextNode 2020-08-28 18:03:22 +09:00
RamType0 ea950d8cec Optimize ContinuationQueue and PlayerLoopRunner iteration
- Fix failing to eliminate array bounds check in PlayerLoopRunner.RunCore
- Reduce number of array bounds check of continuation iteration in ContinuationQueue.RunCore
2020-08-28 17:12:03 +09:00
Ram.Type-0 0bdc933c20 Add TaskPoolRefNode benchmark 2020-08-28 10:54:33 +09:00
hikari 32f9b9d4ac
add Unwrap 2020-08-26 15:59:40 +09:00
neuecc 53907a3719 Merge remote-tracking branch 'origin/master' 2020-08-25 07:16:16 +09:00
neuecc 4937aeee3f 2.0.31 2020-08-25 07:16:08 +09:00
Yoshifumi Kawai 5e5b8aff89
Merge pull request #140 from hikarin522/patch-1
Fix ToCancellationToken
2020-08-25 07:13:56 +09:00
Yoshifumi Kawai a2cbbd82d0
Merge pull request #139 from Cysharp/feature/SubscribeAwait
Add UniTaskAsyncEnumerable.SubscribeAwait
2020-08-25 07:12:00 +09:00
Yoshifumi Kawai 7eac5d8ba8
Merge pull request #138 from Cysharp/hotfix/ContinueOnErrorCallingOnNext
Continue to subscribe if an exception is raised when calling onNext
2020-08-25 07:11:43 +09:00
Yoshifumi Kawai e2b1ed55ae
Merge pull request #134 from SeungHuLee/Add-TMP-Generic-BindTo
Add TMP Generic BindTo Support
2020-08-25 07:11:26 +09:00
neuecc 727c7102d3 Add more DoTween support - `AwaitForComplete`, `AwaitForPause`, `AwaitForPlay`, `AwaitForRewind`, `AwaitForStepComplete`. 2020-08-25 07:10:39 +09:00
neuecc 1494ea6717 removelog spam on UniTaskAsyncEnumerable.EveryValueChanged #141 2020-08-25 06:43:31 +09:00
neuecc f1ce64dbd3 middleware sample 2020-08-25 06:43:03 +09:00
hikari 3bad5cd2bf
fixup! Fix ToCancellationToken linkToken 2020-08-25 02:55:09 +09:00
hikari 7432c0073a
Fix ToCancellationToken linkToken 2020-08-24 17:10:26 +09:00
Mayuki Sawatari f1813a7c94 Continue to subscribe if an exception is raised when calling onNext 2020-08-24 14:44:48 +09:00
Mayuki Sawatari 9e45c0a4d1 Add UniTaskAsyncEnumerable.SubscribeAwait 2020-08-24 14:35:20 +09:00
LSH 2c652cdde7 Add TMP Generic BindTo Support 2020-08-20 03:30:41 +09:00
neuecc 7718d345c8 2.0.30 2020-08-14 17:36:50 +09:00
neuecc 9f39708325 Merge remote-tracking branch 'origin/master' 2020-08-14 17:29:39 +09:00
neuecc bb6dbfa920 Fix await IEnumerator + WaitForSeconds does not follow timescale(to behave same as StartCoroutine) #133 2020-08-14 17:29:30 +09:00
Ram.Type-0 4d7cc7ed61 Disable auto reference of UniTask.Editor 2020-08-14 04:56:58 +09:00
neuecc b64f31eb0b 2.0.28 2020-08-13 17:44:15 +09:00
neuecc 38d159b69e IEnumerator.ToUniTask() behave same as StartCoroutine #120 2020-08-13 17:44:06 +09:00
neuecc a72ceeba11 UNITASK_ASSETBUNDLE_SUPPORT #131 2020-08-13 16:33:32 +09:00
neuecc 2e35324403 ready for 2.0.27 2020-07-30 08:12:32 +09:00
neuecc e9474649c4 Add AssetBundleRequest.AwaitForAllAssets 2020-07-30 08:12:24 +09:00
neuecc a8e0ce50c8 Fix Addressables async extensions when autoReleaseHandle: true 2020-07-30 08:12:03 +09:00
neuecc db7ddba735 Add UniTaskSynchronizationContext, PlayerLoopHelper.IsInjectedUniTaskPlayerLoop, DumpCurrentPlayerLoop 2020-07-30 08:11:07 +09:00
neuecc 1999d94b33 Add UniTask.WithCancellation 2020-07-30 08:10:16 +09:00
neuecc 44af123b6c Update project version to 2019.4.5f1 2020-07-30 07:01:29 +09:00
neuecc 547b700ba7 AsyncOperation/Addressables returns Cacnceled UniTask when already canceled. 2020-07-16 06:12:39 +09:00
neuecc 6b87d5d2b0 2.0.26 2020-07-16 06:05:04 +09:00
neuecc 023894d45e Merge remote-tracking branch 'origin/master' 2020-07-16 05:37:08 +09:00
neuecc c2824027d4 more strict handle cancel timing on asyncOperation.WithCancellation() 2020-07-16 05:36:21 +09:00
cuibeibei 65b6553a1a [addressable]:fix CancellationToken can't stop UniTask #114 2020-07-15 15:14:08 +08:00
neuecc 9d3b7adc8e Add CancellationToken cancellationToken = default to UniTask.Run #113 2020-07-14 11:25:30 +09:00
neuecc 3724fc204c memo of IL2CPP VM bug. 2020-07-14 06:40:32 +09:00
neuecc b97451a915 UnityWebRequest, Addressables returns exception when already isDone and AsyncOperation has error. 2020-07-13 09:34:43 +09:00
neuecc b61e3c347f remove unity csproj 2020-07-11 02:19:40 +09:00
neuecc 0bb44066c0 2.0.25 2020-07-09 22:39:48 +09:00
neuecc 305c4aaa07 fix UnityWebRequestException String access is not supported #110 2020-07-09 22:17:49 +09:00
neuecc 42d627f3ba fix again #108 2020-07-09 17:29:04 +09:00
neuecc 6dd2b464a3 NRE on head request with invalid url #108 2020-07-09 01:31:27 +09:00
neuecc 32f24cf8f8 cleanup unused code 2020-07-04 22:08:48 +09:00
neuecc 887db5b281 2.0.24 2020-07-04 06:36:14 +09:00
neuecc fee5518a82 Improve, Select/Where add UniTaskTracker 2020-07-04 06:29:50 +09:00
neuecc 551128e64c Add UniTaskAsyncEnumerable.Create 2020-07-04 06:29:33 +09:00
neuecc c65ae8d18e error detail 2020-07-04 06:29:08 +09:00
neuecc c1f75d9ebd Add UniTask.Never 2020-06-30 04:01:00 +09:00
neuecc 1c264f380e 2.0.23 2020-06-29 03:22:33 +09:00
neuecc f02bfa0a1e Fix lose exception stacktrace info when task is sync completed 2020-06-29 03:20:13 +09:00
neuecc 9d684006fc test 2020-06-29 03:02:23 +09:00
neuecc d935b226c0 2.0.22 2020-06-29 01:13:37 +09:00
neuecc d9e20de8a5 Add UniTaskAsyncEnumerable.SkipUntil, TakeUntil. Fix SkipUntilCanceled behaviour. 2020-06-29 01:10:18 +09:00
neuecc 23997f0f93 SwitchToMainThread, ReturnToMainThread, SwitchToSynchronizationContext, ReturnToSynchronizationContext supports CancellationToken 2020-06-28 20:57:42 +09:00
neuecc 529272d11b more ignore 2020-06-28 18:01:01 +09:00
neuecc 1194c38568 Add AsyncGPUReadbackRequest await support 2020-06-28 17:59:03 +09:00
neuecc 50bdf7460c 2.0.21 2020-06-25 23:02:40 +09:00
neuecc c06e45d0bb ToCancellationToken(linkeToken) 2020-06-25 23:02:30 +09:00
neuecc 3ed6e28a00 Removed Timeout(bool ignoreTimeScale), changed to Timeout(DelayType delayType) 2020-06-25 22:35:55 +09:00
neuecc ab76098895 Removed CancelAfterSlim(bool ignoreTimeScale), changed to CancelAfterSlim(DelayType delayType) 2020-06-25 22:35:35 +09:00
neuecc 0a447e43b0 Add UniTask.ToCancellationToken 2020-06-25 22:34:45 +09:00
neuecc 8df44f2768 Remove UniTask.DelayRealtime, Add UniTask.Delay(DelayType) overload 2020-06-25 22:15:44 +09:00
neuecc 868e104d85 2.0.20 2020-06-24 05:04:18 +09:00
neuecc 7ced7f5764 separate external assemblies, add TMP_InputField extensions 2020-06-24 05:04:09 +09:00
neuecc 12b39c6ba1 Add UniTask.DelayRealtime 2020-06-24 01:40:43 +09:00
neuecc 3980f314fa Fix UnityWebRequestExtensions obsolete warning in Unity 2020.2 2020-06-19 16:46:30 +09:00
neuecc c2538da1cd Improve UnityWebRequestError performance 2020-06-19 16:45:55 +09:00
neuecc 5ed943bca2 Add UniTask.Post 2020-06-19 16:42:05 +09:00
neuecc d6a0563319 ready 2.0.19 2020-06-18 03:39:44 +09:00
neuecc af82a94b87 Fix TimeoutWithoutException does not suppress exception 2020-06-18 03:30:53 +09:00
neuecc 82219e6111 Fix UniTask.Delay does not run on threadpool thread 2020-06-18 03:28:03 +09:00
neuecc 81f9c55c7f Add UniTask.Run(Func<UniTask>) overload 2020-06-18 03:27:26 +09:00
neuecc 0640f278cc Fix AsyncLazy can not await multiple times when task is not completed 2020-06-18 03:02:01 +09:00
neuecc 769b5c6bab UniTaskCompletionSource can await multiple times(same behaviour as TaskCompletionSource) 2020-06-18 02:34:56 +09:00
neuecc bdd569e213 fix can not close application in mono build 2020-06-17 21:37:45 +09:00
neuecc 8c9272bc9f 2.0.18 2020-06-15 15:26:28 +09:00
neuecc 3e00735b3d Add AsUniTaskAsyncEnumerable/AsAsyncEnumerable in .NET Core 2020-06-15 15:23:25 +09:00
neuecc 00a1be8666 await UnityWebRequestAsyncOperation throws UnityWebRequestException when isHttpError or isNetworkError 2020-06-15 15:23:07 +09:00
neuecc a2783d3c8a yes meta 2020-06-15 12:29:46 +09:00
neuecc bbfb8354bb 2.0.17 2020-06-14 15:32:37 +09:00
yashihei 89339ffb29 Fixed CancelationToken not being passed correctly 2020-06-14 08:24:25 +09:00
neuecc a9e5fd4589 Add UniTaskAsyncEnumerable.Subscribe 2020-06-13 18:58:43 +09:00
neuecc de5951f208 lock q 2020-06-12 10:46:29 +09:00
neuecc ded9a561db 2.0.16 2020-06-12 03:16:06 +09:00
neuecc a2c18eb343 AsyncReactiveProperty document 2020-06-11 23:50:13 +09:00
neuecc 9c86cfb508 Add IDisposable.AddTo(cancellationToken) 2020-06-11 23:31:55 +09:00
neuecc bf0adad427 test for IL2CPP bug 2020-06-11 17:10:29 +09:00
neuecc 11ca42a527 Merge remote-tracking branch 'origin/master' 2020-06-11 16:43:11 +09:00
neuecc 4898e4c7bf Add (I/ReadOnly)AsyncReactiveProperty.WaitAsync 2020-06-11 16:42:59 +09:00
Yoshifumi Kawai 95c93b7c3d
Merge pull request #87 from guitarrapc/master
feat: Android il2cpp support
2020-06-10 17:07:56 +09:00
Ikiru Yoshizaki 1dd0c49eec faet: android il2cpp 2020-06-10 13:06:45 +09:00
neuecc 5d8e0e61ad workaround for IL2CPP bug, back to zero allocation 2020-06-10 11:36:58 +09:00
neuecc 3c0aa03643 if def 2020-06-09 14:52:04 +09:00
neuecc 37cd00d347 2.0.15? 2020-06-09 12:16:28 +09:00
neuecc 859c4d706f logging 2020-06-09 12:00:12 +09:00
neuecc 7289fe6e25 ToCoroutine throws exception when error detected 2020-06-09 11:26:03 +09:00
neuecc 0c33977f5a timer and delay skip current frame 2020-06-09 11:25:45 +09:00
neuecc 4d4466e801 Add UniTask.WaitForFixedUpdate 2020-06-08 02:22:10 +09:00
neuecc 680ce1098b ReadMe 2020-06-08 01:45:57 +09:00
neuecc 2337d705ec WithCancellation uses native timing of asyncOperation 2020-06-08 01:45:41 +09:00
neuecc d2880a818f Add UniTask.NextFrame, UniTask.WaitForEndOfFrame 2020-06-08 01:44:31 +09:00
neuecc 86ea128bf4 t4gen 2020-06-08 00:30:27 +09:00
neuecc a66f378622 // for CI 2020-06-07 00:27:33 +09:00
neuecc 265f88584b store application.datapath on initialize #86 2020-06-06 14:21:31 +09:00
neuecc 686394c861 2.0.14 pkg version 2020-06-05 17:16:34 +09:00
neuecc 8bad158ab4 fix ci 2020-06-05 17:05:36 +09:00
neuecc 5e59e7ec86 netstandard2.0 support #84 2020-06-05 16:45:40 +09:00
neuecc 8bb0a48720 workaround for struct enumerator await 2020-06-05 15:08:13 +09:00
neuecc b4468b4eba improve DOTween Extensions 2020-06-05 12:32:16 +09:00
neuecc ebd80243e0 Fix UniTask.ReturnToCurrentSynchronizationContext 2020-06-05 00:43:54 +09:00
neuecc f1ac469058 Fix UniTask.Defer 2020-06-05 00:43:03 +09:00
neuecc 1d90a40f66 more ReadMe 2020-06-04 17:53:57 +09:00
neuecc d7bef8c5b5 setup release 2020-06-04 15:11:51 +09:00
neuecc b2f82df4d3 fix action 2020-06-04 14:58:11 +09:00
neuecc f4294d3752 Task Pool moved from Internal 2020-06-04 14:52:36 +09:00
neuecc a1444c0b39 refactor DistinctUntilChanged 2020-06-03 02:03:31 +09:00
neuecc e1d5359d73 refactor Where 2020-06-03 01:18:39 +09:00
neuecc 239bf749b6 refactor UniTaskAsyncEnumerable.Select 2020-06-03 00:50:39 +09:00
neuecc 2bf3b1e172 pj 2020-06-02 23:27:42 +09:00
neuecc d225de201f gitignore 2020-06-02 23:00:47 +09:00
neuecc c3b8a3852d UniTask.Linq.asmdef 2020-06-02 23:00:20 +09:00
neuecc c31dab888e fix UnITaskTracker causes Stackoverflow 2020-06-02 22:49:40 +09:00
neuecc d4cf59bd2f CI 2020-06-01 14:50:25 +09:00
neuecc d5edc3acd3 guard for trigger invalid ops 2020-06-01 13:51:37 +09:00
neuecc 130286e8c2 TriggerEvent becomes linkedlist 2020-06-01 13:40:35 +09:00
neuecc a9baa52309 Add ReturnToMainThread, ReturnToSynchronizationContext, ReturnToCurrentSynchronizationContext 2020-05-31 04:30:03 +09:00
neuecc 3001996298 Q check 2020-05-31 04:28:05 +09:00
neuecc bfcd18aabb MoveNextRunner -> StateMachineRunner 2020-05-29 14:35:50 +09:00
neuecc 96aa299e7e support version -> unity 2018.4 2020-05-29 14:25:26 +09:00
neuecc 24faa34418 TaskPoolMonitor -> TaskPool 2020-05-29 03:58:22 +09:00
neuecc 21bf08a6b3 replace all promisepool to new taskpool system 2020-05-29 03:43:18 +09:00
neuecc d5db96b913 rename StackNode to TaskPool 2020-05-29 02:08:11 +09:00
neuecc a8455af16d Improve pooling mechanism 2020-05-29 01:22:46 +09:00
neuecc 2290b14532 reduce AsyncBuilder heap allocation 2020-05-28 22:20:06 +09:00
neuecc 90c5a6311b check il2cpp generics limitation 2020-05-28 21:18:35 +09:00
neuecc 6e0ad3623b non public 2020-05-27 09:16:46 +09:00
neuecc 005e02a1fa sealed 2020-05-27 07:39:19 +09:00
neuecc 10fb8060fa use PooledDelegate to avoid convert Action to Action<AsyncOperation> allocation 2020-05-27 07:37:16 +09:00
neuecc 35b933730b 2.0.11-rc8 2020-05-25 19:44:57 +09:00
neuecc 7ab9467069 IObservable<T>.ToUniTask parameter order changed from CancellationToken cancellationToken, bool useFirst to bool useFirst, CancellationToken cancellationToken 2020-05-25 19:42:51 +09:00
neuecc 598312ba61 DOTween's WithCancellation remove = default 2020-05-25 19:38:08 +09:00
neuecc 985aa5c43a add allocationchecker in netcore sandbox project 2020-05-25 19:37:11 +09:00
neuecc 10eff95a42 fix: does not work zero-allocation mechanism in release build 2020-05-25 19:36:39 +09:00
neuecc d27d6d5d9d UniTask.Yield in .NET Core becomes zero allocation 2020-05-25 19:33:54 +09:00
neuecc b8c109848e UniTaskVoid can not await. 2020-05-25 19:33:11 +09:00
neuecc 8b7f832c0f JobHandle.WaitAsync accepts CancellationToken 2020-05-25 09:58:06 +09:00
neuecc 7cce0f48e5 call webRequest.Abort() on canceled 2020-05-25 09:54:26 +09:00
neuecc 8a56838111 modify cannot await twice message 2020-05-25 01:55:35 +09:00
neuecc ff15e00003 f 2020-05-24 03:33:25 +09:00
neuecc f60d2c51fb fix in UnityEditor performance issue 2020-05-24 03:27:05 +09:00
neuecc 6dfb969015 Add ValueTask.AsUniTask only for .NET Core 2020-05-24 01:30:52 +09:00
neuecc da7e9fc4b3 UniTask marked StructLayout(LayoutKind.Auto) 2020-05-24 01:30:33 +09:00
neuecc 70385c4115 Fix channel's cancellationTokenRegistration does not handle correctly 2020-05-24 00:19:13 +09:00
neuecc 51ba740413 In .NET Core, IUniTaskSource implements IValueTaskSource and implicit, zero overhead conversion 2020-05-24 00:18:39 +09:00
neuecc f3e3ba8864 fix DOTweenExt's TweenCancelBehaviour.CancelAwait 2020-05-23 02:53:48 +09:00
neuecc 07cf65c1ec lower support is 2019.1 2020-05-23 02:12:19 +09:00
neuecc eca5b1c096 2.0.10-rc7 2020-05-23 02:11:00 +09:00
neuecc c74ce14ad1 DoTween -> DOTween 2020-05-23 02:10:18 +09:00
neuecc f59c56506f Remove ConfigureAwait method from all async object extensions(renamed to ToUniTask). Add WithCancellation method to all async object extensions. Improved performance when async object is done. 2020-05-23 02:07:46 +09:00
neuecc 896eef1ee4 Add DoTween Extension 2020-05-23 01:10:04 +09:00
neuecc ec0123eec7 rename UniTask.VoidAction -> UniTask.Action, UniTask.VoidUnityAction -> UniTask.UnityAction, there return type Func<UniTask> -> Func<UniTaskVoid> 2020-05-22 21:42:23 +09:00
neuecc 78f56b9b33 OCS 2020-05-22 17:15:36 +09:00
neuecc 1d88ed85bc fix ComibineLatest 2020-05-22 11:08:03 +09:00
neuecc 2b7986da19 2.0.9-rc6 2020-05-22 10:45:16 +09:00
neuecc c3d22968e1 State rename to AsyncReadOnlyReactiveProperty and removed setter and implicit conversion. 2020-05-22 10:44:41 +09:00
neuecc 0e25122ee2 Add Pairwise 2020-05-22 03:19:54 +09:00
neuecc 4504d84aa8 cl2 2020-05-22 02:34:04 +09:00
neuecc 2b87cadba3 Add CombineLatest 2020-05-22 02:25:36 +09:00
neuecc 21dc83c641 2.0.8-rc5 2020-05-21 02:26:55 +09:00
neuecc 3b593f349c Add UnityEvent<T> and InputField AsyncEventHandler and extensions 2020-05-21 02:26:09 +09:00
neuecc 962c215e3b Fix UniTask.WaitUntilValueChanged does not handle UnityEngine.Object is destroyed correctly 2020-05-21 02:24:12 +09:00
neuecc 42dcfdbcdc Add UniTaskAsyncEnumerable.EveryValueChanged 2020-05-21 02:23:40 +09:00
neuecc 6d7e6ec871 Impl AsyncReactiveProperty.ToString, Add State 2020-05-21 02:22:24 +09:00
neuecc 36d53a3bcb rc4 2020-05-20 11:05:58 +09:00
neuecc ea9e61c2e1 Add CancellationToken.WaitUntilCanceled 2020-05-20 11:04:59 +09:00
neuecc a52c26102b guard for ForEachAsync 2020-05-20 10:48:28 +09:00
neuecc e31c87b8a8 Add IUniTaskAsyncEnumerable.Publish 2020-05-19 15:58:04 +09:00
neuecc cc165a6897 2.0.6-rc3 2020-05-19 04:14:23 +09:00
neuecc f99910d802 Add TaskTracker to AsyncLINQ 2020-05-19 04:13:46 +09:00