ShardingOptions class
Options to customize how nyxx_sharding behaves.
Constructors
- ShardingOptions({bool redirectOutput = true, bool timeoutSpawn = true, bool respawnProcesses = true})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- redirectOutput → bool
-
Whether to redirect the stdout and stderr of the spawned processes to this processe's stdout and stderr.
final
- respawnProcesses → bool
-
Whether to respawn processes upon exiting if the exit code is non-zero.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeoutSpawn → bool
-
Whether to wait after spawning a process for enough time for all shards to initialise before spawning the next process.
final
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