Please, clarify description for Stream.timeout() #30163
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
core-a
library-async
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
type-documentation
A request to add or improve documentation
The description for Stream.timeout() reads:
For example:
It is easy to conclude from this, that countdown starts on first event, which is wrong, I believe.
I believe, 'reset' means 'set countdown to initial value (i.e.
timeLimit
)', but is the countdown stopped or started or it state does not change? especially in cases of stream paused or resumed actions?What happens with countdown, when it reaches zero? Does countdown stopps or starts again with initial value?
onTimeout
throws error. Is this error added to the returned stream?The text was updated successfully, but these errors were encountered: