Advertisement
jmacc

(06) Advanced Topics

Jan 8th, 2013
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. When you join a promise the other promises will complete execution even if one promise errors out.
  2. ---Verdadero
  3. *******************************************************
  4. Then method of a promise allows you to specify the work to be done on the fulfillment of the promised value.
  5. ---Verdadero
  6. **************************
  7. Select the correct code to create a promise.
  8.  
  9. WinJS.Promise()
  10.  
  11. ***********************************************
  12. WinJS.ErrorFromName and throw are are the two ways in which you can throw an error.
  13. ---Verdadero
  14. **********************************************
  15. Web workers is the only method of implementing concurrency on the web.
  16. ----Verdadero
  17.  
  18. **********************************************
  19. WinJS.Promise expects a function with the following functions to be passed. (select all that apply)
  20.  
  21. ---Error
  22. ---Progress
  23. ----Complete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement