Starts a live query on a table and returns the query id as a string. Notifications arrive out of band and are queued by the transport; pull them out with poll_notifications().
Arguments
| Argument | Description |
|---|---|
table | The table to subscribe to. |
session | An optional session id. |
Example usage
To get the full RpcResponse instead of just the query id, use live_raw(table, session).