RunnableOptions class

Options to pass into a runnable.

Implementers
Annotations
  • @immutable

Constructors

RunnableOptions({int concurrencyLimit = 1000})
Options to pass into a runnable.
const

Properties

concurrencyLimit → int
The maximum number of concurrent calls that the runnable can make. Defaults to 1000 (different Runnable types may have different defaults).
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? concurrencyLimit}) → RunnableOptions
Creates a copy of this RunnableOptions with the given fields replaced by the new values.
merge(RunnableOptions? other) → RunnableOptions
Merges this RunnableOptions with another RunnableOptions.
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 ==(covariant RunnableOptions other) → bool
The equality operator.
override