mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-16 20:20:45 +00:00
more working
This commit is contained in:
@@ -33,7 +33,7 @@ namespace UniRx.Async
|
||||
|
||||
public static IObservable<T> ToObservable<T>(this UniTask<T> task)
|
||||
{
|
||||
if (task.IsCompleted)
|
||||
if (task.Status.IsCompleted())
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -55,7 +55,7 @@ namespace UniRx.Async
|
||||
/// </summary>
|
||||
public static IObservable<AsyncUnit> ToObservable(this UniTask task)
|
||||
{
|
||||
if (task.IsCompleted)
|
||||
if (task.Status.IsCompleted())
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user