ProcessorMode enum

Inheritance

Constructors

ProcessorMode()
const

Values

auto → const ProcessorMode

Automatically utilizes an optimal number of background processors.

The numberOfBackgroundProcessors setting will be ignored.

If the limit specified by maxConcurrency is reached, it will terminate all active tasks and create new one.

limit → const ProcessorMode

Uses the specified numberOfBackgroundProcessors.

If the limit specified by maxConcurrency is reached, it will terminate all active tasks and create new one.

maximum → const ProcessorMode

Utilizes all available processors.

Be cautious, as this can negatively affect performance.

It ignores maxConcurrency and may overload the processor if too many tasks are incoming.

minimum → const ProcessorMode

Uses only one processor.

It ignores maxConcurrency and may overload the processor if too many tasks are incoming.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<ProcessorMode>
A constant List of the values in this enum, in order of their declaration.