ãªã³ã©ã¤ã³éå¬ãããæ±äº¬Nodeå¦å40æéç®ã§çºè¡¨ãã¦ãã¾ãããã¹ã©ã¤ãã¯ãã¡ãã§ãã å 容ã¨ãã¦ã¯ãã®ããã°ã«æ¸ãããgRPCãããã³ãã¨ã³ãéä¿¡ã®ç¬¬ä¸ã®é¸æè¢ã«ãªãæ代ããã£ã¦ããããï¼ã¨ããè¨äºããã¼ã¹ã«ãã¦ãgRPCã¨ã¯ä½ãã¨ããConnectãããã³ã«ã®åå¨ããä»ã¾ã§ã®å ¬å¼å®è£ ã¨ã¨ã©ã®ããã«éçºã®ã¹ã¿ã¤ã«ãå¤ããããã¿ãããªè©±ãçµµã¤ãã§èª¬æããããã¾ããã ãã¨ã¯ãstreamã使ã£ã¦åä¿¡ããé¨åã®TypeScriptã³ã¼ããã©ããªããã®ç´¹ä»ã¨ãã追å ãã¾ããã // åçºå®è¡ return await client.greet({name}); // ã¹ããªã¼ã ããã®åä¿¡ for await(const res of client.conversation({name})) { setMessage(res.message); } ãããã¯æè¿è¿½å ãããconnect-web
{{#tags}}- {{label}}
{{/tags}}