Browse Source

Fix `.next()` docs for python

tags/v0.0.0-test.4
haixuanTao 3 years ago
parent
commit
b892e9f5d2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/src/python-api.md

+ 1
- 1
docs/src/python-api.md View File

@@ -44,7 +44,7 @@ node = Node()

#### `.next()` or `__next__()` as an iterator

`.next()` gives you the next input that the node has received. It will return `None` if there is no input available.
`.next()` gives you the next input that the node has received. It blocks until the next input becomes available. It will return `None` when all senders has been dropped.

```python
input_id, value = node.next()


Loading…
Cancel
Save