Commit Graph

315 Commits (cff51a0425c12fa61b10c215cbfe9c163de872b4)

Author SHA1 Message Date
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
neuecc ec7064083a Add TaskTracker to Channel 2020-05-19 03:43:06 +09:00
neuecc 7b273c4bd1 Add UniTask.Defer 2020-05-19 03:10:37 +09:00
neuecc d36e7987b3 Add SkipUntilCanceled, TakeUntilCanceled 2020-05-19 02:41:45 +09:00
neuecc bbd5686816 Add UniTask.WaitUntilCanceled 2020-05-19 01:35:16 +09:00
neuecc fb1152d8f4 IAsyncReadOnlyReactiveProperty -> IReadOnlyAsyncReactiveProperty, .Dipose retrurns MoveNext -> false 2020-05-19 01:20:20 +09:00
neuecc 7a306118f5 AsyncTrigger returns MoveNext -> false when destroyed 2020-05-19 01:19:46 +09:00
neuecc efaf3ee8f5 IAsyncReadOnlyReactiveProperty.WithoutCurrent 2020-05-18 23:36:26 +09:00
neuecc 2e4fe90956 Fix ChannelReader.Completion throws UnobservedException when not touched 2020-05-18 23:33:13 +09:00
neuecc e33d572104 2.0.5-rc2 2020-05-18 11:33:24 +09:00
neuecc 2b2af9e455 meta 2020-05-18 11:31:23 +09:00
neuecc d003597662 Changed AsyncReactiveProperty produce current value at first, Add AsyncReactiveProperty.WithoutCurrent 2020-05-18 11:30:49 +09:00
neuecc ec0a8f5a8b Add IUniTaskAsyncEnumerable.Queue 2020-05-18 11:30:04 +09:00
neuecc 49ba57f20a Fix IUniTaskAsyncEnumerable.Take 2020-05-18 11:29:35 +09:00
neuecc 6f4d1183cc Add BindTo<TSource, TObject>(Action<TObject, TSource> bindAction) 2020-05-18 02:35:13 +09:00
neuecc dd18c9fff8 Add Channel.CreateSingleConsumerUnbounded 2020-05-18 02:34:29 +09:00