Redigera

Dela via


IPipeline Interface

Definition

A utility interface that allows to control the rate of generation of asynchronous activities.

public interface IPipeline
type IPipeline = interface
Public Interface IPipeline
Derived

Properties

Count

The number of items currently enqueued into this pipeline.

Methods

Add(Task)

Adds a new task to the pipeline

Wait()

Waits until all currently queued asynchronous operations are done. Blocks the calling thread.

Applies to

See also