TinyJoin logoTinyJoin

Subscriptions methods

getRevision

The getRevision method returns the newest database revision observed by this Client. Read more.

subscribe

The subscribe method listens for committed table changes and returns an unsubscribe function. OPFS Clients receive changes from every connected tab. After handover or page restoration, reset events notify every subscriber to re-query even though tables is empty. Read more.