wait

The time the server waits for a new message when you have reached the end of the stream.

Applies to: stream

Value: a number of milliseconds, from 0 to 300,000. The default is 1000. 0 switches waiting off.

When there is no message after your after position, the server keeps the request open for up to wait milliseconds and answers as soon as a message arrives. If none arrives, an EMPTY message is returned. A longer wait reduces the number of requests for a quiet stream.

https://api-qa.ihsmarkit.com/namespace/stream?after=AFTER_VALUE&wait=30000

after=head is answered immediately. A value outside the range is refused with the error INVALID_PARAMETER_VALUE.

Note: A request that is waiting counts as a parallel request. See Usage quota. Set requestTimeout above wait.