place.hud.index.subscribe

A spec's collection and conditions, live: an open stream of server-sent events (text/event-stream) from HUD's index (`hud index`), one whenever a record that could match the spec is written or deleted, by its live stream or a backfill, at most one every 250 milliseconds. No record is sent: read the spec's answer again (place.hud.index.query). Its collection is taken in as a query's would be. Of its conditions, eq and in on a record's values and by as a list of DIDs pick the records heard of; the rest hear of every record of the collection. Each event's data is one JSON object, typed by its $type: #changedEvent. A comment, ping, comes every 25 seconds when nothing else does. It is a query, not an XRPC subscription, as HUD's own event streams are: it keeps no history to backfill from, and what changed while no stream was open is read again. Each address holds a bounded number of streams, and the index a bounded number in all. No auth required.

Details · query
Kindquery
Authorityindex.hud.place
Commit rev3n3m2ruqenzju
Indexed

Queries don't store records, so there is no record activity to show.