mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-28 11:28:49 +00:00
Compare commits
3 Commits
2.5.11
...
bed5e80f74
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bed5e80f74 | ||
|
|
02c51c8978 | ||
|
|
58d5cc1ca6 |
4
.github/dependabot.yaml
vendored
4
.github/dependabot.yaml
vendored
@@ -5,10 +5,6 @@ updates:
|
|||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly" # Check for updates to GitHub Actions every week
|
interval: "weekly" # Check for updates to GitHub Actions every week
|
||||||
groups:
|
|
||||||
dependencies:
|
|
||||||
patterns:
|
|
||||||
- "*"
|
|
||||||
cooldown:
|
cooldown:
|
||||||
default-days: 14 # Wait 14 days before creating another PR for the same dependency. This will prevent vulnerability on the package impact.
|
default-days: 14 # Wait 14 days before creating another PR for the same dependency. This will prevent vulnerability on the package impact.
|
||||||
ignore:
|
ignore:
|
||||||
|
|||||||
1
.github/workflows/build-release.yaml
vendored
1
.github/workflows/build-release.yaml
vendored
@@ -101,7 +101,6 @@ jobs:
|
|||||||
needs: [update-packagejson, build-dotnet, build-unity]
|
needs: [update-packagejson, build-dotnet, build-unity]
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
id-token: write # required for NuGet Trusted Publish
|
|
||||||
uses: Cysharp/Actions/.github/workflows/create-release.yaml@main
|
uses: Cysharp/Actions/.github/workflows/create-release.yaml@main
|
||||||
with:
|
with:
|
||||||
commit-id: ${{ needs.update-packagejson.outputs.sha }}
|
commit-id: ${{ needs.update-packagejson.outputs.sha }}
|
||||||
|
|||||||
@@ -10,11 +10,6 @@ using UnityEditor.IMGUI.Controls;
|
|||||||
using Cysharp.Threading.Tasks.Internal;
|
using Cysharp.Threading.Tasks.Internal;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
#if UNITY_6000_2_OR_NEWER
|
|
||||||
using TreeView = UnityEditor.IMGUI.Controls.TreeView<int>;
|
|
||||||
using TreeViewItem = UnityEditor.IMGUI.Controls.TreeViewItem<int>;
|
|
||||||
using TreeViewState = UnityEditor.IMGUI.Controls.TreeViewState<int>;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace Cysharp.Threading.Tasks.Editor
|
namespace Cysharp.Threading.Tasks.Editor
|
||||||
{
|
{
|
||||||
@@ -184,3 +179,4 @@ namespace Cysharp.Threading.Tasks.Editor
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -854,7 +854,7 @@ namespace Cysharp.Threading.Tasks
|
|||||||
Action<Exception> exceptionHandler = null;
|
Action<Exception> exceptionHandler = null;
|
||||||
bool isStarted = false;
|
bool isStarted = false;
|
||||||
UniTask<T> task;
|
UniTask<T> task;
|
||||||
object current = null;
|
T? current = null;
|
||||||
ExceptionDispatchInfo exception;
|
ExceptionDispatchInfo exception;
|
||||||
|
|
||||||
public ToCoroutineEnumerator(UniTask<T> task, Action<T> resultHandler, Action<Exception> exceptionHandler)
|
public ToCoroutineEnumerator(UniTask<T> task, Action<T> resultHandler, Action<Exception> exceptionHandler)
|
||||||
@@ -893,7 +893,7 @@ namespace Cysharp.Threading.Tasks
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public object Current => current;
|
public T? Current => current;
|
||||||
|
|
||||||
public bool MoveNext()
|
public bool MoveNext()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "com.cysharp.unitask",
|
"name": "com.cysharp.unitask",
|
||||||
"displayName": "UniTask",
|
"displayName": "UniTask",
|
||||||
"author": { "name": "Cysharp, Inc.", "url": "https://cysharp.co.jp/en/" },
|
"author": { "name": "Cysharp, Inc.", "url": "https://cysharp.co.jp/en/" },
|
||||||
"version": "2.5.11",
|
"version": "2.5.10",
|
||||||
"unity": "2018.4",
|
"unity": "2018.4",
|
||||||
"description": "Provides an efficient async/await integration to Unity.",
|
"description": "Provides an efficient async/await integration to Unity.",
|
||||||
"keywords": [ "async/await", "async", "Task", "UniTask" ],
|
"keywords": [ "async/await", "async", "Task", "UniTask" ],
|
||||||
|
|||||||
Reference in New Issue
Block a user