Skip to content

Commit

Permalink
make RobotClientOptions parameters final (#260)
Browse files Browse the repository at this point in the history
this was
  • Loading branch information
clintpurser committed Sep 16, 2024
1 parent 83e393a commit c403355
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/src/robot/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ Logger _logger = Logger();
/// The options that define the behavior of the [RobotClient].
class RobotClientOptions {
/// Options for connecting to the robot
final DialOptions dialOptions;
DialOptions dialOptions;

/// The frequency (in seconds) at which to check if the robot is still connected. 0 (zero) signifies no connection checks
final checkConnectionInterval = 10;
int checkConnectionInterval = 10;

/// The frequency (in seconds) at which to attempt to reconnect a disconnected robot. 0 (zero) signifies no reconnection attempts
final attemptReconnectInterval = 1;
int attemptReconnectInterval = 1;

/// Whether sessions are enabled
final enableSessions = true;
bool enableSessions = true;

/// The log level desired
final Level logLevel = Level.debug;
Level logLevel = Level.debug;

RobotClientOptions() : dialOptions = DialOptions();

Expand Down

0 comments on commit c403355

Please sign in to comment.