poll_subscription
Drain new events from a server-side subscription with atomic cursor advancement, ensuring each poll returns unique events.
Instructions
Drain events for a server-side subscription. Per-sub cursor advances atomically with the read -- a successful poll never returns the same events twice. No since_seq param (cursor is server-side); no event_filter param (filter was set at register_subscription time and is immutable for that sub -- re-register if you need a different filter).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscription_id | Yes | Subscription id returned by register_subscription. | |
| max_count | No | Cap returned events. Default 100; hard max 1000. |