commit | 107145c1892329a0f4108f975f0066de25dc6489 | [log] [tgz] |
---|---|---|
author | Ivan Pilat <ivanpi@google.com> | Fri Feb 19 18:10:34 2016 -0800 |
committer | Ivan Pilat <ivanpi@google.com> | Fri Feb 19 18:10:34 2016 -0800 |
tree | b1d2c8800a98e4819967eab68f5621ff5cecc309 | |
parent | 848da5760e9d99793228273831bc28cb634777da [diff] |
syncbase/watch: Return initial state for empty ResumeMarker. Empty ResumeMarker is a convenience for Scan followed by Watch, returning the initial state of the watched row set as the first change batch, as specified in v.io/v23/watch. Fixes v.io/i/693 and most of v.io/i/917 MultiPart: 5/5 Change-Id: If001b8e0b4acfc21bcbcc1ab54ad7317d699292c
This repository defines the JavaScript API for Syncbase, a structured store that supports peer-to-peer synchronization.
The client APIs defined here work both in Node.js and the browser.
npm install --save vanadium/js.syncbase
Documentation for this API is [TODO(aghassemi)](LINK TO JS DOCUMENTATION)
Tutorials can be found at [TODO(aghassemi)](LINK TO JS TUTORIAL FOR SYNCBASE)
The entry point to the API is through a module called syncbase
, everything else is considered private and should not be accessed by the users of the API.
When using Browserify or Node.js users can gain access to the API with:
var syncbase = require("syncbase");
When run in a browser, syncbase expects that the vanadium extension will be installed.
Bugs and feature requests should be filed in the Vanadium issue tracker.
GNU Make is used to build and test Syncbase.
Build everything:
make
Test everything:
make test
Run a specific test suite:
make test-integration make test-integration-node make test-integration-browser
Remove all build and testing artifacts:
make clean