Commit Graph

386 Commits (70a243d9784194ca515e53711c94395f38463c5c)

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