mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-07-01 03:04:12 +00:00
Compare commits
4 Commits
3b3117e16c
...
4bcc9b0df2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4bcc9b0df2 | ||
|
|
f213ff497e | ||
|
|
02c51c8978 | ||
|
|
58d5cc1ca6 |
1
.github/workflows/build-release.yaml
vendored
1
.github/workflows/build-release.yaml
vendored
@@ -15,6 +15,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
update-packagejson:
|
update-packagejson:
|
||||||
permissions:
|
permissions:
|
||||||
|
actions: read
|
||||||
contents: write
|
contents: write
|
||||||
uses: Cysharp/Actions/.github/workflows/update-packagejson.yaml@main
|
uses: Cysharp/Actions/.github/workflows/update-packagejson.yaml@main
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -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