mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
asyncstreams: replace unintended link with emphasis
This commit is contained in:
@@ -60,7 +60,7 @@ proc `callback=`*[T](future: FutureStream[T],
|
||||
|
||||
proc finished*[T](future: FutureStream[T]): bool =
|
||||
## Check if a ``FutureStream`` is finished. ``true`` value means that
|
||||
## no more data will be placed inside the stream _and_ that there is
|
||||
## no more data will be placed inside the stream *and* that there is
|
||||
## no data waiting to be retrieved.
|
||||
result = future.finished and future.queue.len == 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user