Header menu logo TDesu.FSharp

ChannelWorker.Handle<'T> Type

Handle for a running channel worker. Post items for background processing.

Instance members

Instance member Description

this.Completion

Full Usage: this.Completion

Returns: Task

The task representing the worker loop. Completes when cancelled.

Returns: Task

this.PendingCount

Full Usage: this.PendingCount

Returns: int

Current number of queued (unprocessed) items.

Returns: int

this.Post

Full Usage: this.Post

Parameters:
    item : 'T - The item to enqueue for processing.

Post an item for background processing. Non-blocking, unbounded. Safe to call after cancellation (silently ignored).

item : 'T

The item to enqueue for processing.

Type something to start searching.