Clarify StreamQueue.next
will fail just after hasNext
in API document.
#355
Labels
StreamQueue.next
will fail just after hasNext
in API document.
#355
The API document of
hasNext
says,but, with using
await q.hasNext
, we can't avoid error fromawait q.next
whenq
is shared by asynchronous functions.See dart-lang/sdk#50217 in detail.
The text was updated successfully, but these errors were encountered: