The Stats Document - Zodiase/meteor-infinite-load GitHub Wiki
This library uses a special "Stats Document" for client-server synchronization.
For its data-structure, see API-Reference-(2.0)#InfiniLoadServer..StatsDocument.
It has a special document ID for easy lookup. This was previously chosen to be 0
until the recent bug indicating the ID has to be a non-empty string. The ID is now "__zodiase:infinite-load__"
.
Server sends the updated Stats Document after all other data has been sent for marking the end of a request.