Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- asyncCall1(err, data, function() {
- if (err) {
- console.log("Threw an error: " + err);
- }
- asyncCall2(err, data, function() {
- if (err) {
- console.log("Threw an error: " + err);
- }
- asyncCall3(err, data, function() {
- if (err) {
- console.log("Threw an error: " + err);
- }
- asyncCall4(err, data, function() {
- if (err) {
- console.log("Threw an error: " + err);
- }
- console.log("All done!");
- });
- });
- });
- });
- } catch(err) {
- console.log("Threw an error: " + err);
- }
Add Comment
Please, Sign In to add comment