onda_terminal_poll
Poll a subscribed terminal session for new output, blocking up to timeout for fresh data. Returns only chunks produced since the last poll, ideal for continuous monitoring loops.
Instructions
Long-poll a subscribed terminal session for new output. Blocks up to timeoutMs (default 15000) waiting for new chunks. Returns immediately if data is already pending. Each call advances the cursor; only data emitted after the last poll is returned. Use in a loop: subscribe -> poll -> poll -> ... -> unsubscribe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID returned by onda_terminal_subscribe. | |
| timeoutMs | No | Max wait in ms before returning empty. Default 15000. |