AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.8.1" />

.NET API 1,214,976 bytes

 EventLoopExtensions

static class EventLoopExtensions
A set of useful extensions for the event loop.
using System; namespace AngleSharp.Extensions { internal static class EventLoopExtensions { public static void Enqueue(this IEventLoop loop, Action action, TaskPriority priority = TaskPriority.Normal) { if (loop != null) loop.Enqueue(delegate { action(); }, priority); else action(); } } }