new ReadOptions(consistency, timeoutMs) → {ReadOptions}
ReadOptions is passed to read-only store operations to specify arguments that control non-default
behavior related to consistency and operation timeouts.
Parameters:
| Name |
Type |
Description |
consistency |
Consistency
|
the consistency to be used |
timeoutMs |
Number
|
the timeout to be used |
Properties:
| Name |
Type |
Description |
consistency |
Consistency
|
Used to provide consistency guarantees for read operations |
timeoutMs |
Number
|
Is the upper bound on the time interval for processing the operation |
- Source:
Returns:
-
Type
-
ReadOptions