events_poll
Retrieve buffered events from a subscription with timestamp filtering for incremental polling and optional buffer management.
Instructions
Drain buffered events for a subscription. Pass sinceMs to filter to events newer than that timestamp (incremental polling).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriptionId | Yes | ID returned from events_subscribe. | |
| sinceMs | No | Only return events newer than this epoch-ms timestamp. | |
| drain | No | Drain buffer after read (default true). Set false to peek without consuming. |