PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Utils.IWorker Interface Reference

Describes a worker. More...

Inheritance diagram for PeanutButter.Utils.IWorker:
PeanutButter.Utils.IParallelWorker PeanutButter.Utils.ParallelWorker

Properties

bool Busy [get]
 Will be true whilst the worker is busy.
int DefaultMaxDegreeOfParallelism [get, set]
 Indicates the default MaxDegreeOfParallelism for ParallelWorker (should default to the number of available cores, on the assumption that workloads are more often cpu-bound than I/O-bound).

Detailed Description

Describes a worker.

Property Documentation

◆ Busy

bool PeanutButter.Utils.IWorker.Busy
get

Will be true whilst the worker is busy.

Implemented in PeanutButter.Utils.ParallelWorker.


The documentation for this interface was generated from the following file:
  • source/Utils/PeanutButter.Utils/ParallelWorker.cs