以åãå¥ã®è¨äºã§Akka製ã®ãã£ãããµã¼ããä½ã£ãã®ã§ã·ã³ãã«ãªã¯ã©ã¤ã¢ã³ãã¢ããªãä½ãã¾ããã ãã¼ã¸ã§ã³æ å ± ããã±ã¼ã¸å ãã¼ã¸ã§ã³ WebSocketã¨Subjectã®é£æºã¤ã¡ã¼ã¸ RxJSã®é¨åã¯ãä»å Subject ã使ãã¾ããSubjectã¯ãå®ç¾©ããããã¯ã¨ã³ãã®ãã¼ã¿ã½ã¼ã¹ã Subscribe ãããã¨ãã§ãããªããã¤ããã¯ã¨ã³ãã«å¯¾ã㦠next ã«ãããã¼ã¿ãéåºããè½åããã£ã¦ãã¾ããä¸æ¹ã§WebSocketã¯ã³ãã¯ã·ã§ã³ãæç«ããå¾ã onmessage ã¤ãã³ãã«å¯¾ãããã³ãã©ãç»é²ãã¦ãã¼ã¿åä¿¡æã®ã¢ã¯ã·ã§ã³ãå®ãã send ã«ãã£ã¦ãã¼ã¿ãéä¿¡ãã¾ãããã®æç¹ã§ Subject 㨠WebSocketã¯ç¸æ§ãè¯ãã®ã§ã¯ãªããã¨èãã¾ãããå®éãã®èããå®è£ ããå 人ããã¾ãã WebSockets with Angular2 and RxJS â Åuk
{{#tags}}- {{label}}
{{/tags}}