﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking 9867,built-in improvements to responsive-ness of Deferred Promises,jokeyrhyme,jokeyrhyme,"It's a well-known technique in JavaScript to break computationally intensive tasks into asynchronous blocks using setTimeout(fn, 0). My understanding is that it prevents the UI thread from being starved of execution time, so the UI is still responsive. My suggestion is for Deferred.resolveWith (and therefore, Deferred.resolve) to implement this setTimeout(fn, 0) technique somehow. That way we can use Deferreds to manage our asynchronous blocks, and automatically benefit from a silky-smooth user experience. This does mean additional anonymous functions would be created, and I suppose there could be issues with animation timings. ",enhancement,closed,undecided,None,deferred,1.6.2,wontfix,,,,