{"id":1313,"date":"2024-08-04T01:53:34","date_gmt":"2024-08-03T17:53:34","guid":{"rendered":"http:\/\/codermr.com\/?p=1313"},"modified":"2024-08-06T22:25:23","modified_gmt":"2024-08-06T14:25:23","slug":"flux_source_code2","status":"publish","type":"post","link":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/","title":{"rendered":"Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap"},"content":{"rendered":"\n<p>\u672c\u6587\u4e3b\u8981\u5206\u6790\u4e00\u4e0b Flux \u7684 flatMap \u65b9\u6cd5\u7684\u5e95\u5c42\u6e90\u7801\u3002<\/p>\n\n\n\n<p>flatMap \u64cd\u4f5c\u7b26\u628a\u6d41\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u8f6c\u6362\u6210\u4e00\u4e2a\u6d41\uff0c\u518d\u628a\u6240\u6709\u6d41\u4e2d\u7684\u5143\u7d20\u8fdb\u884c\u5408\u5e76\u3002<\/p>\n\n\n\n<p>\u6d4b\u8bd5\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-19.png\"><img loading=\"lazy\" decoding=\"async\" width=\"497\" height=\"221\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-19.png\" alt=\"\" class=\"wp-image-1317\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-19.png 497w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-19-300x133.png 300w\" sizes=\"(max-width: 497px) 100vw, 497px\" \/><\/a><\/figure>\n\n\n\n<p>\u4e0a\u9762\u7b2c 14 \u884c\u521b\u5efa\u4e86\u4e00\u4e2a FluxArray \u5bf9\u8c61\uff0c\u5373 flux000 \u6307\u5411\u7684\u662f\u4e00\u4e2a FluxArray \u5bf9\u8c61\uff0c\u8fd9\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u91cc\u5df2\u7ecf\u8bf4\u8fc7\u4e86\u3002<\/p>\n\n\n\n<p>\u4e0a\u9762\u7b2c 15 \u884c\u7684 flux000.flatMap(..) \u521b\u5efa\u7684\u662f\u4e00\u4e2a FluxFlatMap \u5bf9\u8c61\uff0c\u5176\u6e90\u7801\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-16.png\"><img loading=\"lazy\" decoding=\"async\" width=\"635\" height=\"231\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-16.png\" alt=\"\" class=\"wp-image-1314\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-16.png 635w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-16-300x109.png 300w\" sizes=\"(max-width: 635px) 100vw, 635px\" \/><\/a><\/figure>\n\n\n\n<p>\u4e0a\u9762 10590 \u884c\u521b\u5efa\u4e86\u4e00\u4e2a FluxFlatMap \u5bf9\u8c61\uff0c\u7b2c\u4e00\u4e2a\u53c2\u6570\u662f this \uff0c\u4ee3\u8868 <strong>\u56fe1<\/strong> \u4e2d\u7684 flux000 \u5bf9\u8c61\uff0c\u4e5f\u5c31\u662f\u8bf4\u521b\u5efa\u7684 FluxFlatMap \u5bf9\u8c61\u5185\u90e8\u6301\u6709\u4e00\u4e2a\u6307\u5411 flux000 \u5bf9\u8c61\u7684\u5f15\u7528 source\uff08\u91cd\u70b9\uff09\u3002\u7b2c\u4e8c\u4e2a\u53c2\u6570\u662f mapper \uff0c\u8fd9\u4e2a\u6307\u7684\u662f\u4e0b\u56fe\u9ad8\u4eae\u7684\u8fd9\u6bb5 Lambda \u8868\u8fbe\u5f0f\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-18.png\"><img loading=\"lazy\" decoding=\"async\" width=\"464\" height=\"223\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-18.png\" alt=\"\" class=\"wp-image-1316\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-18.png 464w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-18-300x144.png 300w\" sizes=\"(max-width: 464px) 100vw, 464px\" \/><\/a><\/figure>\n\n\n\n<p>\u770b <strong>\u56fe1<\/strong> \u4e2d\u7684 19 \u884c\uff0cfluxMP.subscribe(\u2026) \uff0c\u5df2\u77e5 fluxMP \u662f\u4e00\u4e2aFluxFlatMap \u5bf9\u8c61\uff0c\u4f46 fluxMP \u8fd9\u4e2a\u5f15\u7528\u662f Flux \u7c7b\u578b\u7684\uff0c\u6240\u4ee5\u6211\u4eec\u8fd8\u662f\u8981\u770b Flux \u4e2d\u7684 .subscribe(\u2026) \u65b9\u6cd5\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"614\" height=\"146\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-20.png\" alt=\"\" class=\"wp-image-1318\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-20.png 614w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-20-300x71.png 300w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/a><\/figure>\n\n\n\n<p>\u70b9\u8fdb\u53bb\u4e0a\u9762\u7684 8475 \u884c\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-23.png\"><img loading=\"lazy\" decoding=\"async\" width=\"602\" height=\"197\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-23.png\" alt=\"\" class=\"wp-image-1321\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-23.png 602w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-23-300x98.png 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/a><\/figure>\n\n\n\n<p>\u4e0a\u9762 8604 \u884c\u7b2c\u4e00\u4e2a\u53c2\u6570 consumer \u662f\u4e0b\u56fe\u9ad8\u4eae\u7684 Lambda \u8868\u8fbe\u5f0f\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-22.png\"><img loading=\"lazy\" decoding=\"async\" width=\"379\" height=\"220\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-22.png\" alt=\"\" class=\"wp-image-1320\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-22.png 379w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-22-300x174.png 300w\" sizes=\"(max-width: 379px) 100vw, 379px\" \/><\/a><\/figure>\n\n\n\n<p>\u800c\u4e0a\u9762 <strong>\u56feH<\/strong> \u4e2d\u7684 LambdaSubscriber \u7684\u5904\u7406\u903b\u8f91\u6211\u4eec\u5728\u4e0a\u4e00\u7bc7\u6587\u7ae0\u5df2\u7ecf\u8bb2\u8fc7\u4e86\u3002\u6211\u4eec\u7ee7\u7eed\u70b9\u51fb \u56feH \u7b2c 8608 \u884c\u7684 subscribeWith(&#8230;) \u65b9\u6cd5\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-32.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1120\" height=\"695\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-32.png\" alt=\"\" class=\"wp-image-1332\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-32.png 1120w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-32-300x186.png 300w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-32-1024x635.png 1024w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-32-768x477.png 768w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-32-922x572.png 922w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" \/><\/a><\/figure>\n\n\n\n<p>\u6ce8\u610f\u4e0a <strong>\u56feJ<\/strong> \u4e2d\u7684\u7b2c 8628 \u884c\u4ee3\u7801\uff0c\u8fd9\u884c\u4ee3\u7801\u521b\u5efa\u4e86\u4e00\u4e2a FluxMapMain \u5bf9\u8c61\uff0c\u70b9\u8fdb\u53bb\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-28.png\"><img loading=\"lazy\" decoding=\"async\" width=\"809\" height=\"255\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-28.png\" alt=\"\" class=\"wp-image-1326\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-28.png 809w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-28-300x95.png 300w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-28-768x242.png 768w\" sizes=\"(max-width: 809px) 100vw, 809px\" \/><\/a><\/figure>\n\n\n\n<p>\u91cd\u70b9\u662f\u8981\u77e5\u9053 FluxMapMain \u4e2d\u6709 \u56fe1 \u4e2d\u7684\u4e24\u4e2a Lambda \u8868\u8fbe\u5f0f\uff0c\u540e\u9762\u4f1a\u7528\u5230\u3002<\/p>\n\n\n\n<p>\u7ee7\u7eed\u8ddf\u8e2a\u4e0a\u9762 <strong>\u56feJ<\/strong> \u4e2d 8642 \u884c\u4ee3\u7801\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-26.png\"><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"231\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-26.png\" alt=\"\" class=\"wp-image-1324\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-26.png 837w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-26-300x83.png 300w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-26-768x212.png 768w\" sizes=\"(max-width: 837px) 100vw, 837px\" \/><\/a><\/figure>\n\n\n\n<p>\u6ce8\u610f\u4e0a <strong>\u56feK<\/strong> \u4e2d\u7684 s \u662f FluxMapMain \u5bf9\u8c61\uff0c\u4e0a\u9762\u7b2c 53 \u884c\u521b\u5efa ArraySubscription \u5bf9\u8c61\u65f6\u628a\u5f15\u7528 s \u4e5f\u4f20\u4e86\u8fdb\u53bb\u3002\u70b9\u8fdb\u53bb\u4e0a <strong>\u56feK<\/strong> \u4e2d\u7b2c 53 \u884c\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-27.png\"><img loading=\"lazy\" decoding=\"async\" width=\"564\" height=\"176\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-27.png\" alt=\"\" class=\"wp-image-1325\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-27.png 564w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-27-300x94.png 300w\" sizes=\"(max-width: 564px) 100vw, 564px\" \/><\/a><\/figure>\n\n\n\n<p>\u6ce8\u610f\u4e0a <strong>\u56feM<\/strong> \u4e2d\u7684 onSubscribe(&#8230;) \u65b9\u6cd5\u662f\u5728 FluxMapMain \u7c7b\u4e2d\u7684\uff0cFluxMapMain \u7c7b\u662f FluxFlatMap \u7684\u4e00\u4e2a\u5185\u90e8\u7c7b\u3002<\/p>\n\n\n\n<p>\u901a\u8fc7 <strong>\u56feK<\/strong> \u53ef\u77e5\uff0c<strong>\u56feM<\/strong> \u4e2d\u7684 s \u662f ArraySubscription \u5bf9\u8c61\uff0cactual \u662f LambdaSubscriber \u5bf9\u8c61\u3002<\/p>\n\n\n\n<p><strong>\u56feM<\/strong> \u4e2d 370 \u884c\uff0c\u8c03\u7528\u7684\u662f LambdaSubscriber \u5bf9\u8c61 onSubscribe(this) \u65b9\u6cd5\uff0c\u6b64\u5904\u7684 this \u662f\u6307 FluxMapMain \u5bf9\u8c61\uff0c\u70b9\u8fdb\u53bb 370 \u884c\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-29.png\"><img loading=\"lazy\" decoding=\"async\" width=\"659\" height=\"350\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-29.png\" alt=\"\" class=\"wp-image-1327\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-29.png 659w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-29-300x159.png 300w\" sizes=\"(max-width: 659px) 100vw, 659px\" \/><\/a><\/figure>\n\n\n\n<p>\u4e0a\u56fe 119 \u884c\u8c03\u7528\u4e86 FluxMapMain \u7684 request(&#8230;) \u65b9\u6cd5\u3010\u5982\u4e0b\uff0c\u6ca1\u770b\u52a8\uff0c\u6709\u70b9\u590d\u6742\u3011\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-30.png\"><img loading=\"lazy\" decoding=\"async\" width=\"912\" height=\"291\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-30.png\" alt=\"\" class=\"wp-image-1328\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-30.png 912w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-30-300x96.png 300w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-30-768x245.png 768w\" sizes=\"(max-width: 912px) 100vw, 912px\" \/><\/a><\/figure>\n\n\n\n<p>\u4e0a\u9762\u4ee3\u7801\u6709\u70b9\u590d\u6742\uff0c\u6682\u65f6\u7565\u8fc7\u3002<\/p>\n\n\n\n<p>\u7ee7\u7eed\u770b <strong>\u56feM<\/strong> \u4e2d\u7684 371 \u884c s.request(&#8230;) \u65b9\u6cd5\u8c03\u7528\u7684\u662f ArraySubscription \u5bf9\u8c61\u7684 request(&#8230;) \u65b9\u6cd5\u3002<strong>\u56feM<\/strong> \u4e2d\u7684 s \u662f ArraySubscription \u5bf9\u8c61<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-31.png\"><img loading=\"lazy\" decoding=\"async\" width=\"717\" height=\"830\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-31.png\" alt=\"\" class=\"wp-image-1329\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-31.png 717w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-31-259x300.png 259w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><\/a><\/figure>\n\n\n\n<p>\u6ce8\u610f\u4e0a\u9762 119\u884c \u8fd9\u662f\u4e00\u4e2a\u5faa\u73af\uff0c\u4f1a\u5bf9 <strong>\u56fe1<\/strong> \u4e2d\u7684\u6570\u636e 1,2,3 \u8fdb\u884c\u5faa\u73af\u5904\u7406\uff0c127\u884c\u7684 s \u662f FlatMapMain \u5373\u4f1a\u8c03 FlatMapMain \u7684 onNext(..) \u65b9\u6cd5\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-33.png\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"1194\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-33.png\" alt=\"\" class=\"wp-image-1334\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-33.png 698w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-33-175x300.png 175w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-33-599x1024.png 599w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/a><\/figure>\n\n\n\n<p>\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p>\u66f4\u76f4\u89c2\u7684\u5206\u6790 flatMap \u7684\u5f02\u6b65\u73b0\u8c61\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/flatMap\u975e\u963b\u585e.mp4\"><\/video><\/figure>\n\n\n\n<p>\u5982\u4e0a\u56fe\u4ee3\u7801\uff0c\u53ef\u4ee5\u770b\u5230\u7b2c 22 \u884c\u5728\u5904\u7406 Flux \u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u65f6\u90fd\u5ef6\u8fdf\u4e86 5 \u79d2\uff0c\u4f46\u662f\u7b2c 25 \u884c\u548c 28 \u884c\u7684\u8f93\u51fa\u7acb\u523b\u5c31\u8f93\u51fa\u4e86\uff0c\u8bf4\u660e flatMap \u5904\u7406 Flux \u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u662f\u5f02\u6b65\u7684\u3002\u4ee3\u7801\u4e2d\u7b2c 22 \u884c\u521b\u5efa\u4e86\u4e09\u4e2a Mono \u5bf9\u8c61\u8fd9\u4e09\u4e2a\u64cd\u4f5c\u662f\u5e76\u53d1\u6267\u884c\u7684\uff0c\u7b49\u8fd9\u4e09\u4e2a Mono \u5bf9\u8c61\u90fd\u751f\u6210\u4e86\u518d\u628a\u4ed6\u4eec\u6241\u5e73\uff08flat\uff09\u6210\u4e00\u4e2a Flux\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u4e3b\u8981\u5206\u6790\u4e00\u4e0b Flux \u7684 flatMap \u65b9\u6cd5\u7684\u5e95\u5c42\u6e90\u7801\u3002 flatMap \u64cd\u4f5c\u7b26\u628a\u6d41\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u8f6c\u6362\u6210&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1311,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[62],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap - \u7801\u5148\u751f\u7684\u535a\u5ba2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap - \u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587\u4e3b\u8981\u5206\u6790\u4e00\u4e0b Flux \u7684 flatMap \u65b9\u6cd5\u7684\u5e95\u5c42\u6e90\u7801\u3002 flatMap \u64cd\u4f5c\u7b26\u628a\u6d41\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u8f6c\u6362\u6210...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-03T17:53:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-06T14:25:23+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/Reactor_Flux1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"358\" \/>\n\t<meta property=\"og:image:height\" content=\"358\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u7801\u5148\u751f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/mrcode2021\" \/>\n<meta name=\"twitter:site\" content=\"@mrcode2021\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7801\u5148\u751f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/\"},\"author\":{\"name\":\"\u7801\u5148\u751f\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"headline\":\"Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap\",\"datePublished\":\"2024-08-03T17:53:34+00:00\",\"dateModified\":\"2024-08-06T14:25:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/\"},\"wordCount\":83,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"keywords\":[\"flux\"],\"articleSection\":[\"JAVA\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/\",\"url\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/\",\"name\":\"Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap - \u7801\u5148\u751f\u7684\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/#website\"},\"datePublished\":\"2024-08-03T17:53:34+00:00\",\"dateModified\":\"2024-08-06T14:25:23+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/codermr.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/codermr.com\/#website\",\"url\":\"http:\/\/codermr.com\/\",\"name\":\"\u7801\u5148\u751f\u7684\u535a\u5ba2\",\"description\":\"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP\",\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/codermr.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\",\"name\":\"\u7801\u5148\u751f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"contentUrl\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"width\":400,\"height\":400,\"caption\":\"\u7801\u5148\u751f\"},\"logo\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/codermr.com\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021\"],\"url\":\"http:\/\/codermr.com\/index.php\/author\/coderma\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap - \u7801\u5148\u751f\u7684\u535a\u5ba2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/","og_locale":"zh_CN","og_type":"article","og_title":"Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap - \u7801\u5148\u751f\u7684\u535a\u5ba2","og_description":"\u672c\u6587\u4e3b\u8981\u5206\u6790\u4e00\u4e0b Flux \u7684 flatMap \u65b9\u6cd5\u7684\u5e95\u5c42\u6e90\u7801\u3002 flatMap \u64cd\u4f5c\u7b26\u628a\u6d41\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u8f6c\u6362\u6210...","og_url":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/","og_site_name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","article_published_time":"2024-08-03T17:53:34+00:00","article_modified_time":"2024-08-06T14:25:23+00:00","og_image":[{"width":358,"height":358,"url":"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/Reactor_Flux1.png","type":"image\/png"}],"author":"\u7801\u5148\u751f","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/mrcode2021","twitter_site":"@mrcode2021","twitter_misc":{"\u4f5c\u8005":"\u7801\u5148\u751f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/#article","isPartOf":{"@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/"},"author":{"name":"\u7801\u5148\u751f","@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"headline":"Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap","datePublished":"2024-08-03T17:53:34+00:00","dateModified":"2024-08-06T14:25:23+00:00","mainEntityOfPage":{"@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/"},"wordCount":83,"commentCount":0,"publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"keywords":["flux"],"articleSection":["JAVA"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/","url":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/","name":"Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap - \u7801\u5148\u751f\u7684\u535a\u5ba2","isPartOf":{"@id":"http:\/\/codermr.com\/#website"},"datePublished":"2024-08-03T17:53:34+00:00","dateModified":"2024-08-06T14:25:23+00:00","breadcrumb":{"@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_source_code2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/codermr.com\/"},{"@type":"ListItem","position":2,"name":"Flux \u6e90\u7801\u5206\u6790\uff08\u4e8c\uff09\uff1aflatMap"}]},{"@type":"WebSite","@id":"http:\/\/codermr.com\/#website","url":"http:\/\/codermr.com\/","name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","description":"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP","publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/codermr.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf","name":"\u7801\u5148\u751f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/","url":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","contentUrl":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","width":400,"height":400,"caption":"\u7801\u5148\u751f"},"logo":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/codermr.com","https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021"],"url":"http:\/\/codermr.com\/index.php\/author\/coderma\/"}]}},"_links":{"self":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1313"}],"collection":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/comments?post=1313"}],"version-history":[{"count":9,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1313\/revisions"}],"predecessor-version":[{"id":1361,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1313\/revisions\/1361"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media\/1311"}],"wp:attachment":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media?parent=1313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/categories?post=1313"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/tags?post=1313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}