mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-28 11:28:49 +00:00
Compare commits
5 Commits
bed5e80f74
...
c444292922
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c444292922 | ||
|
|
73a63b7f67 | ||
|
|
30bec5d5c4 | ||
|
|
02c51c8978 | ||
|
|
58d5cc1ca6 |
1
.github/workflows/build-release.yaml
vendored
1
.github/workflows/build-release.yaml
vendored
@@ -101,6 +101,7 @@ 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 }}
|
||||||
|
|||||||
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user