<PackageReference Include="NUnit" Version="4.2.2" />

EventPump

EventPump pulls Event instances out of an EventQueue and sends them to a ITestListener. It is used to send these events back to the client without using the CallContext of the test runner thread.
using NUnit.Framework.Interfaces; using System; using System.Runtime.CompilerServices; namespace NUnit.Framework.Internal.Execution { [System.Runtime.CompilerServices.Nullable(new byte[] { 0, 1, 1 })] public sealed class EventPump : EventPump<Event, ITestListener>, IDisposable { [System.Runtime.CompilerServices.NullableContext(1)] public EventPump(ITestListener eventListener, EventQueue<Event> events) : base(eventListener, events, "Standard") { } } }