RecommendedParallelism class

Recommended maximum parallelism limits based on the device tier.

Use these values to cap the number of concurrent operations in your app so that low-end devices are not overwhelmed.

Constructors

RecommendedParallelism({required int cpu, required int io, required int network})
const

Properties

cpu int
Maximum concurrent CPU-bound tasks (e.g. image processing, parsing).
final
hashCode int
The hash code for this object.
no setterinherited
io int
Maximum concurrent IO-bound tasks (e.g. file reads, database queries).
final
network int
Maximum concurrent network requests.
final
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