mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-13 21:34:43 +01:00
Init enter game
This commit is contained in:
10
KcpSharp/Base/NetstandardShim/TaskCompletionSource.cs
Normal file
10
KcpSharp/Base/NetstandardShim/TaskCompletionSource.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
#if NEED_TCS_SHIM
|
||||
namespace System.Threading.Tasks
|
||||
{
|
||||
internal class TaskCompletionSource : TaskCompletionSource<bool>
|
||||
{
|
||||
public void TrySetResult() => TrySetResult(true);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user