Server is fully provisioned but in client code
Let query = new Parse.query (' Notification ');
Let subscription = Query.subscribe ();
Subscription.on (' Open ', () = {
Console.log (' subscription opened ');
});
Throw error: TypeError not captured: Unable to read the subscription defined by the property "OnNext". Line No. 3894
Line No. 3894
key: ‘pushData‘,
Value:function Pushdata () {
var results = This.resultset;
Fetch a subset of results if the query has a limit
if (This.originalquery._limit >-1) {
Results = Results.slice (0, This.originalquery._limit);
}
var resultSet = Results.map (Extractid);
var data = Objectstore.getdataforids (ResultSet);
if (This.originalquery._observeone) {
data = data[0];
}
This._foreachsubscriber (function (subscriber) {
return Subscriber.onnext (data);
});
Any help will be greatly appreciated!
Parse server real-time query error: TypeError not captured: Unable to read OnNext definition of property