Link Details

Link 947327 thumbnail
User 378375 avatar

By kalyan.net
via techbubbles.com
Submitted: Mar 30 2013 / 19:59

Promises in JavaScript gives you great power of asynchronicity while you are creating Windows 8 Apps or Web Applications. Promises gives you the ability to call something without blocking your UI thread. Instead of waiting for a call to return something, let that function fire when it complete. In this way you can continue the execution for the user. You are definitely need to know and use promises if you are going to develop Windows Apps. The reason is in Windows RT which is the API on windows where you develop the Apps. If a function might take more than 50 milliseconds then that is an asynchronous function. Windows team developed those functions as Asynchronous function, in order to use these functions you need to call them Asynchronously.
  • 2
  • 0
  • 135
  • 48

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax