Commit Graph

469 Commits (5cc97c7f0085624b6ef57853d70b404440060cef)

Author SHA1 Message Date
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
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
neuecc 1729f389db fix ReactiveProperty implements IAsyncReactiveProperty 2020-05-17 16:51:10 +09:00
neuecc 957adfad7a fix Await UniTaskAsyncEnumerable.Timer is not over. #76 2020-05-17 16:49:44 +09:00
neuecc c73af7390f removed manifestjson 2020-05-17 02:51:51 +09:00
neuecc ba65049dd8 2.0.4-rc1 2020-05-17 01:39:56 +09:00
neuecc ee58aab0a9 Add AsyncReactiveProperty 2020-05-17 01:29:45 +09:00
neuecc 859eaa2278 reduce AsyncTrigger allocation 2020-05-16 23:31:49 +09:00
neuecc 79f770e687 Improve Stacktrace Part2 2020-05-13 11:36:33 +09:00
neuecc 8ff4de67a1 improving stacktrace 2020-05-13 05:49:48 +09:00
neuecc 6a7a6fde5c changed AsyncEnumerable.Timer reset timing 2020-05-12 16:32:10 +09:00
neuecc 6a5e259006 fix 2020-05-12 16:09:34 +09:00
neuecc f6622ad29c StartAsyncCoroutine returns UniTask 2020-05-12 15:55:06 +09:00
neuecc 3de29a181d fixed project structure 2020-05-12 15:44:53 +09:00
neuecc 090cacece5 Add EveryUpdate, Time, Interval, TimerFrame, IntervalFrame 2020-05-12 15:36:42 +09:00
neuecc 354fd65d58 redesigned asyncenumerable ugui and monobehaviourmessagetrigger 2020-05-12 14:29:21 +09:00
neuecc d3538bdc8f TriggerAsyncEnumerable 2020-05-12 13:15:26 +09:00
neuecc bd6906792d UnityAsyncEventHandler as IUniTaskAsyncEnumerable 2020-05-12 11:51:50 +09:00
neuecc c23b9ca480 move to underunity 2020-05-12 03:48:32 +09:00
neuecc cda59ba9c2 Do 2020-05-12 03:41:53 +09:00
neuecc 61a3744fdd Buffer 2020-05-12 03:33:11 +09:00
neuecc 72efadd0a2 DistinctUntilChanged 2020-05-12 03:01:05 +09:00
neuecc 57c414a6e0 DistinctSelector 2020-05-12 02:45:12 +09:00
neuecc 85dc70a3ab OrderBy 2020-05-12 02:21:06 +09:00
neuecc 7298686d5a Join, GroupBy, GroupJoin 2020-05-12 00:38:06 +09:00
neuecc 418586fbfb GroupBy 2020-05-11 23:17:33 +09:00
neuecc 12c507574e Join 2020-05-11 17:33:41 +09:00
neuecc b20b37e7a5 Distinct, Except, Intersect, Union 2020-05-11 15:53:27 +09:00
neuecc 8ef7a66081 TakeLast 2020-05-11 14:01:23 +09:00
neuecc a5f47d4095 SkipLast 2020-05-11 12:38:32 +09:00
neuecc 1316328766 Skip, Take, TakeWhile, SkipWhile 2020-05-11 12:02:02 +09:00
neuecc c0da316cb4 zip 2020-05-11 02:29:23 +09:00
neuecc 4d13523df7 SelectMany 2020-05-11 02:01:49 +09:00
neuecc 16c527fa89 try selectmany 2020-05-11 00:27:57 +09:00
neuecc 5db5beab29 Reverse 2020-05-10 23:26:25 +09:00
neuecc 3f082f1923 defaultifempty 2020-05-10 22:52:12 +09:00
neuecc 93dd82e3d4 exception testing 2020-05-10 22:44:40 +09:00
neuecc af6dbd8868 append prepend concat 2020-05-10 03:50:29 +09:00
neuecc 716decd199 ToDict, ToLookup, ToList, TOHashSet, ToObservable 2020-05-10 02:39:13 +09:00
neuecc f37cd703a9 Aggregate and ForEach 2020-05-10 00:33:46 +09:00
neuecc 31b788a2c9 All, ANy, Contains, SequeuceEqual 2020-05-10 00:07:51 +09:00
neuecc e93bcbf564 Count, LongCount 2020-05-09 23:33:27 +09:00
neuecc aa8cb80866 First, Last, Single, ElementAt 2020-05-09 23:22:51 +09:00
neuecc dd6a8da96f generics MinMax and tests 2020-05-09 22:06:51 +09:00
neuecc d4511c0f67 Average, MinMax, and others 2020-05-09 15:33:46 +09:00
neuecc c16433e0fe Never 2020-05-08 15:16:43 +09:00
neuecc ed0990e402 generator and tests 2020-05-08 12:08:15 +09:00
neuecc 856a049dd0 WithCancellation 2020-05-08 03:48:46 +09:00
neuecc 61b798b6e9 start to implements async linq 2020-05-08 03:23:14 +09:00
neuecc be45066773 add 2020-05-07 15:17:29 +09:00
neuecc 5d0d29dffd preview3 2020-05-07 11:28:14 +09:00
neuecc be539fdb10 fix WhenAll,WhenAny 0-length 2020-05-07 11:27:27 +09:00
neuecc 66fa203f7c improv package exporter 2020-05-07 07:38:41 +09:00
neuecc a78dc55875 preview2 2020-05-07 07:29:31 +09:00
neuecc 84f4d8007d implicit operator UniTask<T> -> UniTask 2020-05-07 07:28:35 +09:00
neuecc 6be955816b Improve AsyncTrigger performance 2020-05-07 07:18:51 +09:00
neuecc ebe3065c34 delete unitypackage 2020-05-06 03:38:03 +09:00
neuecc 5f90807cb7 + 2020-05-06 02:54:52 +09:00
neuecc 81d83c17c3 Merge branch 'master' into unitask2 2020-05-06 02:51:46 +09:00
neuecc 4e9d268d1c d 2020-05-06 02:50:30 +09:00
neuecc 6c1b590fd8 export 2020-05-06 02:48:29 +09:00
neuecc 32a4e84513 def 2020-05-06 01:17:37 +09:00
neuecc 7f61f85bc7 Addressable support 2020-05-06 00:51:21 +09:00
neuecc f0d745924a exception choice 2020-05-05 22:51:19 +09:00
neuecc 51f4003bc5 ObjectIdForDebugger 2020-05-05 21:34:11 +09:00
neuecc b9b2925e8d DotNetCore Version 2020-05-05 21:05:32 +09:00
neuecc 7cb0b17e6a move root to src/UniTask 2020-05-05 20:04:00 +09:00