Comments (4)
The existing behavior is correct. "I saving" will not be printed until the save is actually completed. While the browser is waiting for that save to complete, it continues to execute the next code section.
You may have meant to write this instead:
...
// Start the save operation
console.log("I saving");
return listing.save(null);
}).then(function(listing) {
// The save was successful.
console.log("I am final success");
}, function(error) {
...
});
You can read more about Promises at https://www.parse.com/docs/js/guide#promises
from parse-sdk-js.
Thank you for your feedback. We use the issue tracker here to track valid bugs in our SDK. Your question seems to be more about how to use Parse. Could you check out the following resources?
- Documentation: https://www.parse.com/docs
- Google Groups: https://groups.google.com/forum/#!forum/parse-developers
- Stack Overflow: http://stackoverflow.com/tags/parse.com
from parse-sdk-js.
This issue has not been updated for 7 days. If you have additional information to help pinpoint this issue as an SDK bug, please comment on this issue. We will close this issue in 7 days if no additional information is provided. Thank you for your feedback.
from parse-sdk-js.
Hi There,
Aplogise for the delay..
Stanley thanks a lot for the reply...
For the time being i have found the alternative way to solve my purpose.
Will try as suggested by Stanley.
You can close this issue...
-Thanks and Regards,
Rajender Jindal
On Sun, Oct 4, 2015 at 3:11 AM, Parse Community Bot <
[email protected]> wrote:
This issue has not been updated for 7 days. If you have additional
information to help pinpoint this issue as an SDK bug, please comment on
this issue. We will close this issue in 7 days if no additional information
is provided. Thank you for your feedback.—
Reply to this email directly or view it on GitHub
#21 (comment)
.
from parse-sdk-js.
Related Issues (20)
- Allow for REST Content Override for Server protection HOT 2
- Align currently supported Node.js version HOT 4
- `Parse.User.verifyPassword` does not pass request options to server HOT 5
- Parse SDK 4.3.1 is not working with React Native / Expo HOT 9
- Expo RN and ParseLiveQuery EventEmitter error HOT 13
- Cannot set ACL from JSON HOT 1
- Infinite loop in `encode.js` HOT 5
- Missing test for `Parse.User.verifyPassword` option `ignoreEmailVerification` HOT 2
- `Parse.Object.set` sliently handles validation errors HOT 1
- TypeError: attempted to use private field on non-instance, js engine: hermes HOT 3
- Installation support for JS SDK HOT 4
- Allow to run queries through LiveQueryClient (Parse Server issue #9086) HOT 5
- Local state of objects not correct if setting multiple properties HOT 2
- LocalDatastore tests fail HOT 4
- Parse.Installation doesn't handle deleted Installation objects on server HOT 3
- Replace dependency ip-node HOT 2
- Parse.File Terminates when Encoding/Decoding Large Media File(s) with URI Constructor HOT 6
- Change fields in LiveQueryClient.resubscribe to keys HOT 8
- Parse error in vite ( back4app ) on Parse.initialize: EventEmitter is not a constructor HOT 2
- Object attributes transformed in array HOT 36
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parse-sdk-js.