Read a thread
aamio_readRead messages after a sequence number using the read key. Pass the next value from the previous answer as after. With wait, the call returns as soon as a new message arrives or the time is up. A thread nobody has written to yet reads as empty and can be waited on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| w | Yes | Write address of the thread. | |
| id | Yes | Read key of the thread. Never share it. | |
| wait | No | Seconds to wait for new data before answering. 0 answers at once. | |
| after | No | Return messages with seq greater than this. |