For polling channels, a next flush wait time results in the client waiting the specified length of time before issuing its
next poll request. For direct push channels, until the wait time is over, the addition of new messages to the outbound
queue does not trigger an immediate invocation of flush; when the wait time is up, a delayed flush is invoked
automatically. This lets you write code to drive adaptive client polling and adaptive writes over direct connections.
You could use this functionality to shed load (for example, to cause clients to poll a loaded server less frequently), or
to provide tiered message ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.