mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-17 20:50:11 +00:00
more working
This commit is contained in:
@@ -60,7 +60,7 @@ namespace UniRx.Async.CompilerServices
|
||||
|
||||
if (promise != null)
|
||||
{
|
||||
promise.SetException(exception);
|
||||
promise.TrySetException(exception);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -81,7 +81,7 @@ namespace UniRx.Async.CompilerServices
|
||||
|
||||
if (promise != null)
|
||||
{
|
||||
promise.SetResult();
|
||||
promise.TrySetResult();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@ namespace UniRx.Async.CompilerServices
|
||||
}
|
||||
else
|
||||
{
|
||||
promise.SetException(exception);
|
||||
promise.TrySetException(exception);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -213,7 +213,7 @@ namespace UniRx.Async.CompilerServices
|
||||
return;
|
||||
}
|
||||
|
||||
promise.SetResult(result);
|
||||
promise.TrySetResult(result);
|
||||
}
|
||||
|
||||
// 5. AwaitOnCompleted
|
||||
|
||||
Reference in New Issue
Block a user