{"id":1340,"date":"2024-08-04T02:36:43","date_gmt":"2024-08-03T18:36:43","guid":{"rendered":"http:\/\/codermr.com\/?p=1340"},"modified":"2024-08-06T21:43:13","modified_gmt":"2024-08-06T13:43:13","slug":"flux_mono_skills","status":"publish","type":"post","link":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/","title":{"rendered":"Flux \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">flatMap<\/h1>\n\n\n\n<p>Flux\u3001Mono \u91cc\u9762\u90fd\u6709 flatMap \u65b9\u6cd5\u3002flatMap \u65b9\u6cd5\u662f\u5e72\u4ec0\u4e48\u7684\u5462\uff1f\u6211\u7684\u7406\u89e3\u662f\uff1aflatMap  \u5bf9 Flux\u3001Mono \u91cc\u9762\u7684\u5143\u7d20\u9010\u4e2a\u5904\u7406\u8f6c\u6362\u6210\u53e6\u4e00\u4e2a Publisher\uff0c\u7136\u540e\u518d\u5c06\u8fd9\u4e9b publishers \u5408\u5e76\u6210\u4e00\u4e2a\u65b0\u7684 Flux\u3001Mono \u5bf9\u8c61\u8fd4\u56de\u3002<\/p>\n\n\n\n<p>flatMap function in Flux\/Mono is used to transform each element emitted by a Publisher into another Publisher, and then flatten these inner publishers into a single Flux\/Mono\u3002<\/p>\n\n\n\n<p>\u4f46\u662f\u4e00\u4e2a\u5f88\u91cd\u8981\u7684\u77e5\u8bc6\u70b9\u662f\uff0cflatMap \u7684\u8f6c\u6362\uff0c\u9700\u8981 subscribe(&#8230;) \u89e6\u53d1\uff0c\u4e5f\u5c31\u662f\u8bf4\u5982\u679c\u6ca1\u6709 subscribe(&#8230;)  \u89e6\u53d1\uff0cflatMap \u7684\u8f6c\u6362\u5c31\u4e0d\u4f1a\u8fdb\u884c\u3002<\/p>\n\n\n\n<p>Flux \u7684 flatMap \u65b9\u6cd5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static void test2() {\n    Flux&lt;Integer> flux000 = Flux.just(1, 2, 3);\n    Flux&lt;Integer> flux000New = flux000.flatMap(ele -> {\n        ele = ele * 2;\n        return Flux.just(ele); \/\/ \u8fd4\u56de\u7684\u8fd8\u662f Flux\n    });\n    flux000.subscribe(ele -> {\n        System.out.println(\"========:\" + ele);\/\/ \u8fd8\u662f\u8f93\u51fa100 \uff0c\u56e0\u4e3a .flatMap \u5e76\u4e0d\u4f1a\u6539\u53d8\u539f\u6765Mono\u4e2d\u7684\u503c\n    });\n    flux000New.subscribe(ele -> {\n        System.out.println(\"========:\" + ele);\/\/ \u8f93\u51fa200\n    });\n    System.out.println(\"===========\u7ed3\u675f=============\");\n}<\/code><\/pre>\n\n\n\n<p>Mono \u7684 flatMap \u65b9\u6cd5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">public static void test3() {<br>    Mono&lt;Integer> mono1 = Mono.<em>just<\/em>(100);<br>    Mono&lt;Integer> monoNew = mono1.flatMap(ele -> {<br>        ele = ele * 2;<br>        return Mono.<em>just<\/em>(ele); \/\/ \u8fd4\u56de\u7684\u8fd8\u662f Mono<br>    });<br>    mono1.subscribe(ele -> {<br>        System.<em>out<\/em>.println(\"========:\" + ele);<strong><em>\/\/ \u8fd8\u662f\u8f93\u51fa100 \uff0c\u56e0\u4e3a .flatMap \u5e76\u4e0d\u4f1a\u6539\u53d8\u539f\u6765Mono\u4e2d\u7684\u503c<br>    <\/em><\/strong>});<br>    monoNew.subscribe(ele -> {<br>        System.<em>out<\/em>.println(\"========:\" + ele);<strong><em>\/\/ \u8f93\u51fa200<br>    <\/em><\/strong>});<br>}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u4e2a\u5f88\u5173\u952e\u7684\u95ee\u9898\u662f\uff1a flatMap \u64cd\u4f5c\u662f\u5f02\u6b65\u7684\u5417\uff1f<\/h2>\n\n\n\n<p>\u7f51\u4e0a\u6bcf\u4e2a\u7b54\u6848\u90fd\u544a\u8bc9\u4f60\uff0cflatMap \u662f\u5f02\u6b65\u7684\uff0c\u4f46\u662f\u5728\u6211\u7684\u5b66\u4e60\u6d4b\u8bd5\u8fc7\u7a0b\u4e2d\uff0c\u5e76\u6ca1\u6709\u6d4b\u51fa\u6765 flatMap \u7684\u5f02\u6b65\u73b0\u8c61\uff0c\u6bd4\u5982\u4e0a\u9762\u7684 test2() \u65b9\u6cd5\uff0c\u6211\u5728\u6700\u540e\u4e00\u6b65\u8f93\u51fa\u90a3\u91cc\u6253\u65ad\u70b9\uff0c\u5219\u524d\u9762\u7684\u4ee3\u7801\u6ca1\u6709\u6267\u884c\u5b8c\u662f\u4e0d\u4f1a\u8d70\u5230\u8d70\u540e\u4e00\u6b65\u7684\uff0c\u867d\u7136\u8fd9\u79cd\u6d4b\u8bd5\u5f02\u6b65\u7684\u65b9\u5f0f\u4e0d\u4e25\u8c28\uff0c\u4f46\u6211\u4e00\u6b21\u4e5f\u9047\u5230\u8fc7\u4f8b\u5916\u60c5\u51b5\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-34.png\"><img loading=\"lazy\" decoding=\"async\" width=\"666\" height=\"256\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-34.png\" alt=\"\" class=\"wp-image-1344\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-34.png 666w, http:\/\/codermr.com\/wp-content\/uploads\/2024\/08\/image-34-300x115.png 300w\" sizes=\"(max-width: 666px) 100vw, 666px\" \/><\/a><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">flatMapMany<\/h1>\n\n\n\n<p>flatMapMany \u662f Mono \u91cc\u9762\u7684\u65b9\u6cd5\uff0cFlux \u91cc\u9762\u6ca1\u6709\u3002<\/p>\n\n\n\n<p><code>flatMapMany<\/code> in Reactor is a powerful operator that transforms <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">each item emitted by a <code>Mono<\/code><\/mark><\/strong> into a <code>Publisher<\/code>, and then <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">flattens these publishers into a single <code>Flux<\/code><\/mark><\/strong>. This can be particularly useful for transforming data in a reactive stream or chaining asynchronous operations.<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\"><code>flatMapMany<\/code> \u662f\u5c06 Mono \u53d1\u5c04\u7684\u6bcf\u4e2a\u5143\u7d20\u8f6c\u6362\u6210\u4e00\u4e2a Publisher \uff0c\u518d\u5c06\u8fd9\u4e2a Publisher \u5408\u5e76\u4e00\u4e2a Flux\u3002<\/mark><\/strong><\/p>\n\n\n\n<p>Here are some examples to demonstrate how to use <code>flatMapMany<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example 1: Simple <code>flatMapMany<\/code> Usage<\/h3>\n\n\n\n<p>In this example, we use <code>flatMapMany<\/code> to transform a <code>Mono<\/code> of a list of items into a <code>Flux<\/code> of individual items.<\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">flatMapMany<\/mark><\/code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"> \u53ef\u4ee5\u5c06\u4e00\u4e2a <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Mono&lt;List&lt;E>><\/mark><\/strong> \u8f6c\u6362\u6210\u53ea\u5305\u542b\u4e00\u4e2a\u5143\u7d20\u7684 Flux&lt;E> \u3002<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> public static void main(String&#91;] args) {\n        Mono&lt;List&lt;String>> monoList = Mono.just(Arrays.asList(\"apple\", \"banana\", \"cherry\"));\n\n        Flux&lt;String> flux = monoList.flatMapMany(Flux::fromIterable);\n\n        flux.subscribe(System.out::println);\n    }<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Example 2: <code>flatMapMany<\/code> with Asynchronous Operations<\/h3>\n\n\n\n<p>In this example, we use <code>flatMapMany<\/code> to transform a <code>Mono<\/code> into a <code>Flux<\/code> of items that each undergo an asynchronous operation.<\/p>\n\n\n\n<p><strong><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">flatMapMany<\/mark><\/code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"> \u53ef\u4ee5<\/mark><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static void main1(String&#91;] args) {\n    Mono&lt;String> mono = Mono.just(\"Reactive Programming\");\n\n    Flux&lt;String> flux = mono.flatMapMany(value -> Flux.fromArray(value.split(\" \"))\n      .delayElements(Duration.ofMillis(500))); \/\/ Simulating async operation\n\n    flux.subscribe(System.out::println);\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Example 3: <code>flatMapMany<\/code> for Network Calls<\/h3>\n\n\n\n<p>In this example, <code>flatMapMany<\/code> is used to perform multiple network calls for each item in a <code>Mono<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static void main2(String&#91;] args) {\n    List&lt;String> urls = Arrays.asList(\"http:\/\/example.com\/1\", \"http:\/\/example.com\/2\", \"http:\/\/example.com\/3\");\n    Mono&lt;List&lt;String>> monoUrls = Mono.just(urls);\n    Flux&lt;String> fluxResponses = monoUrls.flatMapMany(urlList ->\n      Flux.fromIterable(urlList)\n        .flatMap(url -> makeNetworkCall(url))\n    );\n    fluxResponses.subscribe(System.out::println);\n}\n\nprivate static Mono&lt;String> makeNetworkCall(String url) {\n    \/\/ Simulating network call\n    return Mono.just(\"Response from \" + url).delayElement(Duration.ofMillis(300));\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Example 4: Error Handling with <code>flatMapMany<\/code><\/h3>\n\n\n\n<p>In this example, we demonstrate how to handle errors within <code>flatMapMany<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static void main3(String&#91;] args) {\n    Mono&lt;String> mono = Mono.just(\"Reactive Programming\");\n    Flux&lt;String> flux = mono.flatMapMany(value -> Flux.fromArray(value.split(\" \"))\n        .delayElements(Duration.ofMillis(500)))\n      .onErrorResume(e -> Flux.just(\"An error occurred: \" + e.getMessage()));\n    flux.subscribe(System.out::println);\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Example 5: Complex Data Processing with <code>flatMapMany<\/code><\/h3>\n\n\n\n<p>In this example, we use <code>flatMapMany<\/code> to process complex data structures.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public static void main4(String&#91;] args) {\n    Map&lt;String, List&lt;String>> data = Map.of(\n      \"fruits\", Arrays.asList(\"apple\", \"banana\"),\n      \"vegetables\", Arrays.asList(\"carrot\", \"potato\")\n    );\n\n    Mono&lt;Map&lt;String, List&lt;String>>> monoData = Mono.just(data);\n\n    Flux&lt;String> flux = monoData.flatMapMany(map ->\n      Flux.fromIterable(map.entrySet()).flatMap(entry -> Flux.fromIterable(entry.getValue()))\n    );\n\n    flux.subscribe(System.out::println);\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Explanation:<\/h3>\n\n\n\n<ol>\n<li><strong>Example 1<\/strong>: Demonstrates how to convert a <code>Mono<\/code> containing a list into a <code>Flux<\/code> of individual items.<\/li>\n\n\n\n<li><strong>Example 2<\/strong>: Demonstrates asynchronous processing of each item in a <code>Mono<\/code>.<\/li>\n\n\n\n<li><strong>Example 3<\/strong>: Demonstrates making network calls for each item in a <code>Mono<\/code>.<\/li>\n\n\n\n<li><strong>Example 4<\/strong>: Demonstrates error handling within <code>flatMapMany<\/code>.<\/li>\n\n\n\n<li><strong>Example 5<\/strong>: Demonstrates processing complex data structures with <code>flatMapMany<\/code>.<\/li>\n<\/ol>\n\n\n\n<p>These examples should help you understand how to use <code>flatMapMany<\/code> effectively in different scenarios.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>flatMap Flux\u3001Mono \u91cc\u9762\u90fd\u6709 flatMap \u65b9\u6cd5\u3002flatMap \u65b9\u6cd5\u662f\u5e72\u4ec0\u4e48\u7684\u5462\uff1f\u6211\u7684\u7406\u89e3&#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 \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7 - \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_mono_skills\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flux \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7 - \u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"flatMap Flux\u3001Mono \u91cc\u9762\u90fd\u6709 flatMap \u65b9\u6cd5\u3002flatMap \u65b9\u6cd5\u662f\u5e72\u4ec0\u4e48\u7684\u5462\uff1f\u6211\u7684\u7406\u89e3...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-03T18:36:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-06T13:43:13+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_mono_skills\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/\"},\"author\":{\"name\":\"\u7801\u5148\u751f\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"headline\":\"Flux \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7\",\"datePublished\":\"2024-08-03T18:36:43+00:00\",\"dateModified\":\"2024-08-06T13:43:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/\"},\"wordCount\":269,\"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_mono_skills\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/\",\"url\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/\",\"name\":\"Flux \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7 - \u7801\u5148\u751f\u7684\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/#website\"},\"datePublished\":\"2024-08-03T18:36:43+00:00\",\"dateModified\":\"2024-08-06T13:43:13+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/codermr.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flux \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7\"}]},{\"@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 \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7 - \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_mono_skills\/","og_locale":"zh_CN","og_type":"article","og_title":"Flux \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7 - \u7801\u5148\u751f\u7684\u535a\u5ba2","og_description":"flatMap Flux\u3001Mono \u91cc\u9762\u90fd\u6709 flatMap \u65b9\u6cd5\u3002flatMap \u65b9\u6cd5\u662f\u5e72\u4ec0\u4e48\u7684\u5462\uff1f\u6211\u7684\u7406\u89e3...","og_url":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/","og_site_name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","article_published_time":"2024-08-03T18:36:43+00:00","article_modified_time":"2024-08-06T13:43:13+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_mono_skills\/#article","isPartOf":{"@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/"},"author":{"name":"\u7801\u5148\u751f","@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"headline":"Flux \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7","datePublished":"2024-08-03T18:36:43+00:00","dateModified":"2024-08-06T13:43:13+00:00","mainEntityOfPage":{"@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/"},"wordCount":269,"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_mono_skills\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/","url":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/","name":"Flux \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7 - \u7801\u5148\u751f\u7684\u535a\u5ba2","isPartOf":{"@id":"http:\/\/codermr.com\/#website"},"datePublished":"2024-08-03T18:36:43+00:00","dateModified":"2024-08-06T13:43:13+00:00","breadcrumb":{"@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/codermr.com\/index.php\/2024\/08\/04\/flux_mono_skills\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/codermr.com\/"},{"@type":"ListItem","position":2,"name":"Flux \/ Mono \u5e38\u7528\u65b9\u6cd5\u548c\u6280\u5de7"}]},{"@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\/1340"}],"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=1340"}],"version-history":[{"count":4,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1340\/revisions"}],"predecessor-version":[{"id":1346,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1340\/revisions\/1346"}],"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=1340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/categories?post=1340"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/tags?post=1340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}