<PackageReference Include="System.IO.Pipelines" Version="10.0.0-rc.2.25502.107" />

PipeScheduler

public abstract class PipeScheduler
Abstraction for running PipeReader and PipeWriter callbacks and continuations.
public static PipeScheduler Inline { get; }

The PipeScheduler implementation that runs callbacks inline.

public static PipeScheduler ThreadPool { get; }

The PipeScheduler implementation that queues callbacks to the thread pool.

protected PipeScheduler()

Initializes new a PipeScheduler instance.

public abstract void Schedule(Action<object> action, object state)

Requests action to be run on scheduler with state being passed in.