Answers an RFC 8936 poll: removes what the receiver acknowledged (ack) or refused (setErrs, recorded on the stream's log), and returns what is waiting.
ack
setErrs
Optional
the stream
the poll request: ack, setErrs and maxEvents
maxEvents
{ sets, moreAvailable, status }
Answers an RFC 8936 poll: removes what the receiver acknowledged (
ack) or refused (setErrs, recorded on the stream's log), and returns what is waiting.