ConcurrencyAbstractionLayer
using System.Reactive.PlatformServices;
using System.Runtime.CompilerServices;
namespace System.Reactive.Concurrency
{
[NullableContext(1)]
[Nullable(0)]
internal static class ConcurrencyAbstractionLayer
{
public static IConcurrencyAbstractionLayer Current { get; } = Initialize();
private static IConcurrencyAbstractionLayer Initialize()
{
return PlatformEnlightenmentProvider.Current.GetService<IConcurrencyAbstractionLayer>(Array.Empty<object>());
}
}
}