Compare commits

...

4 Commits

Author SHA1 Message Date
Josh Cross
1087877a2d Merge 02c51c8978 into 95998ff3f2 2025-09-10 18:05:32 -04:00
Ikiru Yoshizaki
95998ff3f2 ci: dependabot cooldown 65d2ae 2025-09-10 12:34:40 +09:00
Josh Cross
02c51c8978 Change ToCoroutine<T>().Current to T? instead of just T 2025-04-17 16:04:28 -07:00
Josh Cross
58d5cc1ca6 Update ToCoroutineEnumerator<T> to return a T from Current instead of object 2025-04-17 15:47:45 -07:00
2 changed files with 5 additions and 3 deletions

View File

@@ -5,8 +5,10 @@ updates:
directory: "/"
schedule:
interval: "weekly" # Check for updates to GitHub Actions every week
cooldown:
default-days: 14 # Wait 14 days before creating another PR for the same dependency. This will prevent vulnerability on the package impact.
ignore:
# I just want update action when major/minor version is updated. patch updates are too noisy.
- dependency-name: '*'
- dependency-name: "*"
update-types:
- version-update:semver-patch

View File

@@ -854,7 +854,7 @@ namespace Cysharp.Threading.Tasks
Action<Exception> exceptionHandler = null;
bool isStarted = false;
UniTask<T> task;
object current = null;
T? current = null;
ExceptionDispatchInfo exception;
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()
{