mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 22:58:01 +03:00
CallbackResult - stall for now
This commit is contained in:
parent
e3eb5dccdd
commit
00379ac7b7
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user