{"id":5904,"date":"2022-09-29T17:57:22","date_gmt":"2022-09-29T09:57:22","guid":{"rendered":"http:\/\/1989lifejourney.com\/2022\/09\/29\/producer-consumer-pattern\/"},"modified":"2022-09-29T17:57:22","modified_gmt":"2022-09-29T09:57:22","slug":"producer-consumer-pattern","status":"publish","type":"post","link":"https:\/\/1989lifejourney.com\/?p=5904","title":{"rendered":"PRODUCER CONSUMER pattern"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/openhome.cc\/zh-tw\/pattern\/thread\/producer-consumer\/\">https:\/\/openhome.cc\/zh-tw\/pattern\/thread\/producer-consumer\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><a href=\"https:\/\/openhome.cc\/zh-tw\/pattern\/thread\/producer-consu\" rel=\"nofollow\">https:\/\/openhome.cc\/zh-tw\/pattern\/thread\/producer-consu<\/a> [&hellip;]<\/p>\n","protected":false},"author":139426785,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_postgate_lock_override":"inherit","_postgate_lock_mode":"inherit","_postgate_preview_mode":"inherit","_postgate_preview_limit":0,"_postgate_product_ids":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[11176,55138170,1],"tags":[],"post_folder":[],"class_list":["post-5904","post","type-post","status-publish","format-standard","hentry","category-software-engineering","category-technology-sharing","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paR5vw-1xe","jetpack-related-posts":[{"id":5894,"url":"https:\/\/1989lifejourney.com\/?p=5894","url_meta":{"origin":5904,"position":0},"title":"\u95dc\u65bc\u7248\u672c\u865f\u78bc\u547d\u540d\u898f\u5247\uff08rule of version number)","author":"Kevin","date":"22 9 \u6708, 2022","format":false,"excerpt":"\u4ee5\u4e0b\u8cc7\u6599\u7686\u4f86\u81eaRef,\u9019\u88e1\u50c5\u505a\u500b\u4eba\u7b46\u8a18\u6574\u7406 https:\/\/medium.com\/fiverr-en\u2026","rel":"","context":"\u5728\u300cTechnology sharing\u300d\u4e2d","block_context":{"text":"Technology sharing","link":"https:\/\/1989lifejourney.com\/?cat=55138170"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6486,"url":"https:\/\/1989lifejourney.com\/?p=6486","url_meta":{"origin":5904,"position":1},"title":"Software engineering &#8211; Describe View, ViewModel, DataService, BluetoothService relationships by interaction diagram, class diagram","author":"Kevin","date":"16 1 \u6708, 2023","format":false,"excerpt":"Prerequisite: Interaction diagram\u63cf\u8ff0object\u4e4b\u9593\u7684\u4e92\u52d5 Cla\u2026","rel":"","context":"\u5728\u300cDesign Pattern\u300d\u4e2d","block_context":{"text":"Design Pattern","link":"https:\/\/1989lifejourney.com\/?cat=36769"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2023\/01\/uml_classes_en.svg_.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2023\/01\/uml_classes_en.svg_.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/1989lifejourney.com\/wp-content\/uploads\/2023\/01\/uml_classes_en.svg_.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":5727,"url":"https:\/\/1989lifejourney.com\/?p=5727","url_meta":{"origin":5904,"position":2},"title":"Design Pattern\u5b78\u7fd2 &#8211; 1","author":"Kevin","date":"10 7 \u6708, 2022","format":false,"excerpt":"\u4ee5\u4e0b\u8cc7\u6599\u4f86\u6e90\u5927\u90e8\u5206\u90fd\u662f\u5f9e\u4e0b\u9762\u9019\u500b\u7db2\u7ad9\u800c\u4f86\uff0c\u9019\u88e1\u50c5\u4f5c\u500b\u4eba\u7b46\u8a18\u6574\u7406:\u53c3\u8003\u7db2\u7ad9: https:\/\/skyy\u2026","rel":"","context":"\u5728\u300cDesign Pattern\u300d\u4e2d","block_context":{"text":"Design Pattern","link":"https:\/\/1989lifejourney.com\/?cat=36769"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8684,"url":"https:\/\/1989lifejourney.com\/?p=8684","url_meta":{"origin":5904,"position":3},"title":"iOS in-app subscription tutorial with StoreKit 2 and Swift","author":"Kevin","date":"25 10 \u6708, 2023","format":false,"excerpt":"iOS in-app subscription tutorial with StoreKit 2 a\u2026","rel":"","context":"\u5728\u300cIOS Development\u300d\u4e2d","block_context":{"text":"IOS Development","link":"https:\/\/1989lifejourney.com\/?cat=37324612"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7125,"url":"https:\/\/1989lifejourney.com\/?p=7125","url_meta":{"origin":5904,"position":4},"title":"Design pattern &#8211; Observer pattern","author":"Kevin","date":"5 3 \u6708, 2023","format":false,"excerpt":"\u54ea\u7a2eDesign pattern(Creational\/Structural\/Behavioural\u2026","rel":"","context":"\u5728\u300cDesign Pattern\u300d\u4e2d","block_context":{"text":"Design Pattern","link":"https:\/\/1989lifejourney.com\/?cat=36769"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5771,"url":"https:\/\/1989lifejourney.com\/?p=5771","url_meta":{"origin":5904,"position":5},"title":"Design pattern\u5b78\u7fd2 &#8211; 4 (Simple Factory\u7c21\u55ae\u5de5\u5ee0\u6a21\u5f0f)","author":"Kevin","date":"31 7 \u6708, 2022","format":false,"excerpt":"\u76ee\u7684: \u5b9a\u7fa9\u4e00\u500b\u7c21\u55ae\u5de5\u5ee0\uff0c\u50b3\u5165\u4e0d\u540c\u7684\u53c3\u6578\u53d6\u5f97\u4e0d\u540c\u7684\u985e\u5225\u7269\u4ef6\u3002 \u5099\u8a3b: Simple Factory\u5176\u2026","rel":"","context":"\u5728\u300cDesign Pattern\u300d\u4e2d","block_context":{"text":"Design Pattern","link":"https:\/\/1989lifejourney.com\/?cat=36769"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/5904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/users\/139426785"}],"replies":[{"embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5904"}],"version-history":[{"count":0,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=\/wp\/v2\/posts\/5904\/revisions"}],"wp:attachment":[{"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5904"},{"taxonomy":"post_folder","embeddable":true,"href":"https:\/\/1989lifejourney.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpost_folder&post=5904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}