GatewayTimings class final

The values the gateway reports to clients (04 18), parameters so tests can shorten them.

Constructors

GatewayTimings({Duration heartbeatInterval = const Duration(seconds: 30), Duration resumeWindow = const Duration(minutes: 5), Duration runPatchCoalesce = const Duration(milliseconds: 250), int maxFocusedThreads = 20, Duration typingTtl = const Duration(seconds: 8)})
Creates the values; the defaults are those of 04 18.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
heartbeatInterval → Duration
sync.heartbeat_interval, reported in hello.
final
maxFocusedThreads → int
sync.max_focused_threads.
final
resumeWindow → Duration
sync.resume_window, reported in hello.
final
runPatchCoalesce → Duration
sync.run_patch_coalesce_interval.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typingTtl → Duration
sync.typing_ttl, the expires_at of typing.started.
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