ProcessorConfigs class

Configuration class for managing processor settings.

Constructors

ProcessorConfigs({int numberOfBackgroundProcessors = 2, int maxConcurrency = 1, ProcessorMode processorMode = ProcessorMode.auto})
Creates a new instance of ProcessorConfigs with the given settings.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maxConcurrency int
The maximum concurrency level.
final
numberOfBackgroundProcessors int
The number of background processors to use.
final
processorMode ProcessorMode
The mode in which processors will operate.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? numberOfBackgroundProcessors, int? maxConcurrency, ProcessorMode? processorMode}) ProcessorConfigs
Creates a copy of this object with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited