virtualx-engine/modules/mono/glue/Managed/Files/Dispatcher.cs

14 lines
388 B
C#
Raw Normal View History

using System.Runtime.CompilerServices;
namespace Godot
{
public static class Dispatcher
{
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern GodotTaskScheduler godot_icall_DefaultGodotTaskScheduler();
public static GodotSynchronizationContext SynchronizationContext =>
godot_icall_DefaultGodotTaskScheduler().Context;
}
}