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