Represents an object used to run an IParallelRunnable by using multiple System.Threading.Tasks.Task.
public sealed class DefaultParallelRunner :
DefaultEcs.Threading.IParallelRunner,
System.IDisposable
Inheritance System.Object 🡒 DefaultParallelRunner
Implements IParallelRunner, System.IDisposable
Constructors | |
---|---|
DefaultParallelRunner(int) | Initialises a new instance of the DefaultParallelRunner class. |
Properties | |
---|---|
DegreeOfParallelism | Gets the degree of parallelism used to run an IParallelRunnable. |
Methods | |
---|---|
Dispose() | Releases all the resources used by the current DefaultParallelRunner instance. |
Run(IParallelRunnable) | Runs the provided IParallelRunnable. |