Commit Graph

347 Commits (8b3c8d15c43bc919bfde777df6bf29e644da39f8)

Author SHA1 Message Date
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