初始化
This commit is contained in:
14
UnityGame/Assets/Scripts/ThirdParty/UniTask/Runtime/ExceptionExtensions.cs
vendored
Normal file
14
UnityGame/Assets/Scripts/ThirdParty/UniTask/Runtime/ExceptionExtensions.cs
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
using System;
|
||||
|
||||
namespace Cysharp.Threading.Tasks
|
||||
{
|
||||
public static class ExceptionExtensions
|
||||
{
|
||||
public static bool IsOperationCanceledException(this Exception exception)
|
||||
{
|
||||
return exception is OperationCanceledException;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user