Closed siddharthlatest closed 8 years ago
Adding streamonly field to the streamDocument() throws a syntax error.
streamonly
appbaseObj.streamDocument({ type: "tweet", id: "1", streamonly: "true" }).on('data', function(res) { console.log("data update: ", res); }).on('error', function(err) { console.log("streaming error: ", err); })
Stacktrace:
Uncaught SyntaxError: Unexpected token ,conn.onmessage @ appbase.js:483
This is true for streamSearch() method as well.
Adding
streamonly
field to the streamDocument() throws a syntax error.Stacktrace: