CallbackResult - stall for now

This commit is contained in:
Garry Newman 2020-02-19 12:29:21 +00:00
parent e3eb5dccdd
commit 00379ac7b7

View File

@ -3,6 +3,7 @@ using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace Steamworks
@ -18,7 +19,15 @@ namespace Steamworks
public void OnCompleted( Action continuation )
{
throw new NotImplementedException();
var ts = TaskScheduler.Current;
var sc = SynchronizationContext.Current;
while ( !IsCompleted )
{
// Nothing
}
continuation();
}
public T? GetResult()