Commit bff5e2e2 authored by Katherine Walker's avatar Katherine Walker

Improve maxAwaitTimeMS documentation for watch

parent e4a7f0a4
...@@ -22,9 +22,15 @@ interface: phpmethod ...@@ -22,9 +22,15 @@ interface: phpmethod
operation: ~ operation: ~
optional: true optional: true
--- ---
source: arg_name: option
file: apiargs-MongoDBCollection-method-find-option.yaml name: maxAwaitTimeMS
ref: maxAwaitTimeMS type: integer
description: |
Positive integer denoting the time limit in milliseconds for the server to
block a getMore operation if no data is available.
interface: phpmethod
operation: ~
optional: true
--- ---
source: source:
file: apiargs-MongoDBCollection-common-option.yaml file: apiargs-MongoDBCollection-common-option.yaml
......
...@@ -177,7 +177,6 @@ using :php:`IteratorIterator <iteratoriterator>`. ...@@ -177,7 +177,6 @@ using :php:`IteratorIterator <iteratoriterator>`.
$iterator->next(); $iterator->next();
} }
}
Much like the ``foreach`` example, this version on the consumer script will Much like the ``foreach`` example, this version on the consumer script will
start by quickly printing all results in the capped collection; however, it will start by quickly printing all results in the capped collection; however, it will
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment