Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​IO.​Pipelines.​PipeScheduler

Assembly: System.IO.Pipelines

Inheritance: object → PipeScheduler

Abstraction for running <see cref="T:System.IO.Pipelines.PipeReader" /> and <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and continuations.

Properties

public static PipeScheduler
Inline
The <see cref="T:System.IO.Pipelines.PipeScheduler" /> implementation that runs callbacks inline.
public static PipeScheduler
ThreadPool
The <see cref="T:System.IO.Pipelines.PipeScheduler" /> implementation that queues callbacks to the thread pool.

Methods

public void
Schedule​(Action<​object> action, object state)
Requests <paramref name="action" /> to be run on scheduler with <paramref name="state" /> being passed in.
action The single-parameter action delegate to schedule.
state The parameter to pass to the <paramref name="action" /> delegate.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object