mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-05 10:10:46 +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.Collections.Generic;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
@ -18,7 +19,15 @@ namespace Steamworks
|
|||||||
|
|
||||||
public void OnCompleted( Action continuation )
|
public void OnCompleted( Action continuation )
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
var ts = TaskScheduler.Current;
|
||||||
|
var sc = SynchronizationContext.Current;
|
||||||
|
|
||||||
|
while ( !IsCompleted )
|
||||||
|
{
|
||||||
|
// Nothing
|
||||||
|
}
|
||||||
|
|
||||||
|
continuation();
|
||||||
}
|
}
|
||||||
|
|
||||||
public T? GetResult()
|
public T? GetResult()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user