asyncstreams: replace unintended link with emphasis
This commit is contained in:
parent
59c1f7c87f
commit
e6d5379b3b
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ proc `callback=`*[T](future: FutureStream[T],
|
||||||
|
|
||||||
proc finished*[T](future: FutureStream[T]): bool =
|
proc finished*[T](future: FutureStream[T]): bool =
|
||||||
## Check if a ``FutureStream`` is finished. ``true`` value means that
|
## 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.
|
## no data waiting to be retrieved.
|
||||||
result = future.finished and future.queue.len == 0
|
result = future.finished and future.queue.len == 0
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue