ãã®ã¹ã©ã¤ã㯠2013-11-30 ã«éå¬ããã HTML5 Conference 2013 㧠å°ä¸éã»ãµã¯ãµã¯ã»ããããã®Webã²ã¼ã ã¢ããªãåããã¹ã8ã¤ã®æ©è½ ã¨ãã¦ã話ãããã®ã§ã
æ¦è¦ Promiseã¨ã¯éåæå¦çãä¸æãæ±ãçºã®APIã§ããããã¿ã¼ã³ã§ããã éåæã®å¦çã®å®äºå¾ã«ç¶ãã¦å¦çãè¡ãããã¨ããããã³ã¼ã«ããã¯ãã¿ã¼ã³ã使ãããããå¦çãé£ç¶ããã¨ã³ã¼ã«ããã¯å°çã¨è¨ãããåããã¥ããã½ã¼ã¹ã³ã¼ãã«ãªã£ã¦ãã¾ãã ã¾ããè¤æ°ã®éåæå¦çãå®äºããæã«å¦çãè¡ããªã©ãã³ã¼ã«ããã¯ãã¿ã¼ã³ã§ã¯é£ããäºãã¹ãã¼ãã«ã§ããã®ããã®Promiseã§ããã ä»ã¾ã§ã¯DOMã®æ¹ã§DOM Promiseã¨ãã¦ä»æ§çå®ãé²ãããã¦ããããã©ã¤ãã©ãªã®Deferredãæåã ã£ãããES2015æ¨æºã«å ¥ããã¨ã«ãªããV8ã«å®è£ ãããã å®è£ ãããã¡ã½ãã Promise.resolve(x) Promise.reject(x) Promise.all( [p1, p2, p3, ......] ) Promise.race( [p1, p2, p3, ......] )
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}