ãã®æ¸ç±ã¯Creative Commons Attribution-NonCommercialã® ã©ã¤ã»ã³ã¹ ã§å ¬éããã¦ãã¾ãã ã¾ããPDFã¨ãã¦ã¬ã³ããªã³ã°ãããã¼ã¸ã§ã³ã¯ä»¥ä¸ãããã¦ã³ãã¼ããããã¨ãã§ãã¾ãã
JavaScriptã«ããã¦ããã®ã»ãã®è¨èªã«ããã¦ãççµåã¨ããã®ã¯çµæ§å¤§ããªãã¼ãã®ä¸ã¤ã ã¨æãã¾ãã ãããªççµåãä¿ãå®è£ ã¨ãã¦PubSubãã«ããã«èå ããã³ã¦ã¾ããã ã«ããã¨ããããå®æçã«çãä¸ãã£ã¦ãæ°ããã¾ããã åã¯ãã¾ããã¶ã¤ã³ãã¿ã¼ã³å¨ã§ã¯ãªãã®ã§ãã¾ãèªãããããªãã¨ã¯ãªãã®ã§ããççµåãªã³ã¼ãã¨ããã®ã¯ã³ã¼ãã®åå©ç¨æ§ãé«ã¾ã幸ã度ãããªãé«ããã®ã ã¨æãã¾ãã ãããªPubSubãå¼·åã«å¾æ¼ãããã©ã¤ãã©ãªã¯ä¸ã®ä¸æã®æ°ã»ã©ããããã§ãããã»ãã®å°ãã ãèéãå©ããªããªã¼ã£ã¦æããã¨ããã£ã¦åå¹´ãããåã«èªä½ãã¾ããããããã95%ãããè»è¼ªã®åçºæã§ãã ãã®åãPubsubJS(https://github.com/nazomikan/PubsubJS)ã ã©ããã§ãããä¼¼ãååãèãããã¨ã¯ããããã§ããã¾ããã®ã¸ãã¯ããã¨ãã¦ä½ããã£ã±ãããPubS
JavaScript(ã¨ããã CoffeeScript)ã£ã¦90年代ã«ãã©ã¦ã¶ä¸ã§ä½¿ããã¦ããé ã®ã¤ã¡ã¼ã¸ãæãããã©ããæ°æã¡æªãã¦éãã¦åã£ã¦ããã§ãããäºæ ããã£ã¦æè¿ã¯æ¸ã æ¸ãã¦ã¾ãã JavaScripterã®çæ§ã«ã¨ã£ã¦ã¯ä½ãä»æ´ã ã¨ã¯æãã¾ãã jQuery.Deferredã使ã£ã¦æ¥½ããéåæçæ´»ãéãæ¹æ³ ãèªã㧠Deferred 便å©ã ãªãã¨æã£ãã®ã§ç解ããã¨ãããã¡ã¢ãã¦ããã¾ãã å©ç¨ã·ã¼ã³ $.get() ã£ã¦ã¨ã©ã¼ãã³ããªã³ã°ã§ããªãã®ãã使ããªããªã¼ãã¨æã£ãã¨ã è¤æ°ã® AJAX ãªã¯ã¨ã¹ã(ãªã©ã®éåæå¦ç)ãåæã«éå§ãã¦ãå ¨é¨çµãã£ããä½ããããã¨ãã Deferred object ãã¼ã«ãªãã®ã¯ Deferred object ã§ãã ç¶æ Deferred object ã¯ç¶æ ãæã¡ã¾ããç¶æ ã¯ï¼ã¤ã®ãã¡ããããã æªè§£æ±º(unresolv
Promiseã£ã¦ãªãã¨ãªãã¢ããã£ã½ããªã¨æã£ã¦ãã¸ã§ãã¬ã¼ã¿ä½¿ã£ã¦Haskellã®doãåç¾ã§ããªãããªãã¨ããã®ãã¯ãã¾ããçµè«ããããã¨ãã§ããªãã ããããPromiseãã¢ããã§ããããèããã return :: Monad m => a -> m a å¤ãåãåã£ã¦fulfilledãããPromiseãè¿ããã®ã Promise.fulfill / Promise.resolveãããã«ãããã Promise.mreturn = Promise.fulfill || Promise.resolve; >>= :: Monad m => m a -> (a -> m b) -> m b bindã¨ãå¼ã°ãããããããã®é¢æ°ã«ãå¤ãåãåã£ã¦ã¢ãããè¿ãé¢æ°ã渡ãã¨ããã®å¤ãçµæã«ãªãã Promise.prototype.mbind = Promise.prototype
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}