"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[4918],{4800:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>o,contentTitle:()=>d,default:()=>h,frontMatter:()=>c,metadata:()=>i,toc:()=>a});var s=r(5893),l=r(1151);const c={id:"ipc",title:"33. IPC \u8fdb\u7a0b\u901a\u4fe1",sidebar_label:"33. IPC \u8fdb\u7a0b\u901a\u4fe1"},d=void 0,i={id:"ipc",title:"33. IPC \u8fdb\u7a0b\u901a\u4fe1",description:"33.1 \u4ec0\u4e48\u662f IPC",source:"@site/docs/ipc.mdx",sourceDirName:".",slug:"/ipc",permalink:"/docs/ipc",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/ipc.mdx",tags:[],version:"current",lastUpdatedBy:"MonkSoul",lastUpdatedAt:1651894493,formattedLastUpdatedAt:"May 7, 2022",frontMatter:{id:"ipc",title:"33. IPC \u8fdb\u7a0b\u901a\u4fe1",sidebar_label:"33. IPC \u8fdb\u7a0b\u901a\u4fe1"},sidebar:"docs",previous:{title:"32. \u4f1a\u8bdd\u548c\u72b6\u6001\u7ba1\u7406",permalink:"/docs/sesssion-state"},next:{title:"34. \u6258\u7ba1/\u90e8\u7f72/\u53d1\u5e03",permalink:"/docs/category/deploy"}},o={},a=[{value:"33.1 \u4ec0\u4e48\u662f IPC
",id:"331-\u4ec0\u4e48\u662f-ipc",level:2},{value:"33.2 \u5b9e\u73b0 IPC
\u901a\u4fe1\u65b9\u5f0f",id:"332-\u5b9e\u73b0-ipc-\u901a\u4fe1\u65b9\u5f0f",level:2},{value:"33.3 IPC
\u901a\u4fe1\u6a21\u5f0f",id:"333-ipc-\u901a\u4fe1\u6a21\u5f0f",level:2},{value:"33.4 \u8fdb\u7a0b\u5185\u901a\u4fe1\uff08\u7ebf\u7a0b\u95f4\uff09",id:"334-\u8fdb\u7a0b\u5185\u901a\u4fe1\u7ebf\u7a0b\u95f4",level:2},{value:"33.4.1 \u4e86\u89e3 Channel
",id:"3341-\u4e86\u89e3-channel",level:3},{value:"33.4.2 \u5e38\u89c4\u4f7f\u7528",id:"3342-\u5e38\u89c4\u4f7f\u7528",level:3},{value:"\u521b\u5efa ChannelHandler<TMessage>
\u7ba1\u9053\u5904\u7406\u7a0b\u5e8f",id:"\u521b\u5efa-channelhandlertmessage-\u7ba1\u9053\u5904\u7406\u7a0b\u5e8f",level:4},{value:"\u4f7f\u7528 ChannelContext<TMessage, THandler>
\u53d1\u9001\u6d88\u606f",id:"\u4f7f\u7528-channelcontexttmessage-thandler-\u53d1\u9001\u6d88\u606f",level:4},{value:"33.4.3 \u5b9e\u73b0\u591a\u8ba2\u9605",id:"3343-\u5b9e\u73b0\u591a\u8ba2\u9605",level:3},{value:"33.4.4 \u66f4\u591a Channel
\u77e5\u8bc6",id:"3344-\u66f4\u591a-channel-\u77e5\u8bc6",level:3},{value:"33.4.5 CallContext
\u65b9\u5f0f",id:"3345-callcontext-\u65b9\u5f0f",level:3},{value:"34.5 \u8fdb\u7a0b\u5916\u901a\u4fe1\uff08\u5171\u4eab\u5185\u5b58\uff09",id:"345-\u8fdb\u7a0b\u5916\u901a\u4fe1\u5171\u4eab\u5185\u5b58",level:2},{value:"33.6 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"336-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function t(e){const n={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",h2:"h2",h3:"h3",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,l.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.h2,{id:"331-\u4ec0\u4e48\u662f-ipc",children:["33.1 \u4ec0\u4e48\u662f ",(0,s.jsx)(n.code,{children:"IPC"})]}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsx)(n.p,{children:"\u5f15\u7528\u767e\u5ea6\u767e\u79d1"}),"\n",(0,s.jsx)(n.p,{children:"IPC\uff08Inter-Process Communication\uff0c\u8fdb\u7a0b\u95f4\u901a\u4fe1\uff09\u3002\u8fdb\u7a0b\u95f4\u901a\u4fe1\u662f\u6307\u4e24\u4e2a\u8fdb\u7a0b\u7684\u6570\u636e\u4e4b\u95f4\u4ea7\u751f\u4ea4\u4e92\u3002"}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["\u901a\u4fd7\u70b9\u8bf4\uff0c",(0,s.jsx)(n.code,{children:"IPC"})," \u53ef\u4ee5\u5b9e\u73b0\u4e0d\u540c\u5e94\u7528\u7a0b\u5e8f\u95f4\u901a\u4fe1\uff08\u4ea4\u4e92\u6570\u636e\uff09\u3002"]}),"\n",(0,s.jsxs)(n.h2,{id:"332-\u5b9e\u73b0-ipc-\u901a\u4fe1\u65b9\u5f0f",children:["33.2 \u5b9e\u73b0 ",(0,s.jsx)(n.code,{children:"IPC"})," \u901a\u4fe1\u65b9\u5f0f"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"\u534a\u53cc\u5de5 Unix \u7ba1\u9053"}),"\n",(0,s.jsx)(n.li,{children:"FIFOs(\u547d\u540d\u7ba1\u9053)"}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"\u6d88\u606f\u961f\u5217"}),"\uff08\u5e38\u7528\u6a21\u5f0f\uff09"]}),"\n",(0,s.jsx)(n.li,{children:"\u4fe1\u53f7\u91cf"}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"\u5171\u4eab\u5185\u5b58"}),"\uff08\u5e38\u7528\u6a21\u5f0f\uff0c",(0,s.jsx)(n.code,{children:"Furion"})," \u6846\u67b6\u9ed8\u8ba4\u5b9e\u73b0\u65b9\u5f0f\uff09"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"\u7f51\u7edc Socket"}),"\uff08\u5e38\u7528\u6a21\u5f0f\uff09"]}),"\n"]}),"\n",(0,s.jsxs)(n.h2,{id:"333-ipc-\u901a\u4fe1\u6a21\u5f0f",children:["33.3 ",(0,s.jsx)(n.code,{children:"IPC"})," \u901a\u4fe1\u6a21\u5f0f"]}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"IPC"})," \u672c\u8eab\u6307\u7684\u662f ",(0,s.jsx)(n.code,{children:"\u8fdb\u7a0b\u95f4"})," \u901a\u4fe1\uff0c\u4f46 ",(0,s.jsx)(n.code,{children:"Furion"})," \u6846\u67b6\u5c06\u5185\u7f6e ",(0,s.jsx)(n.code,{children:"\u8fdb\u7a0b\u95f4/\u5185"})," \u4e24\u79cd\u8fdb\u7a0b\u901a\u4fe1\u6a21\u5f0f\u3002"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"\u8fdb\u7a0b\u5185\u901a\u4fe1"}),"\uff1a",(0,s.jsx)(n.code,{children:"Furion"})," \u91c7\u7528 ",(0,s.jsx)(n.code,{children:"Channel"})," \u7ba1\u9053\u63d0\u4f9b\u8fdb\u7a0b\u5185\u901a\u4fe1"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"\u8fdb\u7a0b\u5916\u901a\u4fe1"}),"\uff1a",(0,s.jsx)(n.code,{children:"Furion"})," \u91c7\u7528 ",(0,s.jsx)(n.code,{children:"MemoryMapperFile"})," \u5171\u4eab\u5185\u5b58\u65b9\u5f0f\u5b9e\u73b0\u8fdb\u7a0b\u5916\u901a\u4fe1\uff08\u540e\u7eed\u7248\u672c\u5b8c\u5584\uff09"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"334-\u8fdb\u7a0b\u5185\u901a\u4fe1\u7ebf\u7a0b\u95f4",children:"33.4 \u8fdb\u7a0b\u5185\u901a\u4fe1\uff08\u7ebf\u7a0b\u95f4\uff09"}),"\n",(0,s.jsxs)(n.p,{children:["\u8fdb\u7a0b\u5185\u901a\u4fe1\u4fd7\u79f0\u7ebf\u7a0b\u95f4\u901a\u4fe1\uff0c",(0,s.jsx)(n.code,{children:"Furion"})," \u6846\u67b6\u91c7\u7528 ",(0,s.jsx)(n.code,{children:"C#"})," \u63d0\u4f9b\u7684 ",(0,s.jsx)(n.code,{children:"Channel\uff08\u7ba1\u9053\uff09"})," + ",(0,s.jsx)(n.code,{children:"Lazy"})," + ",(0,s.jsx)(n.code,{children:"Task.Factory"})," \u5b9e\u73b0\u957f\u65f6\u95f4\u9ad8\u6027\u80fd\u7684\u7ebf\u7a0b\u95f4\u901a\u4fe1\u673a\u5236\u3002",(0,s.jsx)(n.code,{children:"Channel"})," \u7ba1\u9053\u4e5f\u662f\u76ee\u524d ",(0,s.jsx)(n.code,{children:".NET/C#"})," \u5b9e\u73b0 ",(0,s.jsx)(n.code,{children:"\u751f\u4ea7\u8005-\u8ba2\u9605\u8005"})," \u6a21\u5f0f\u6700\u7b80\u6613\u4e14\u6700\u4e3a\u5f3a\u5927\u7684\u5b9e\u73b0\u3002"]}),"\n",(0,s.jsxs)(n.h3,{id:"3341-\u4e86\u89e3-channel",children:["33.4.1 \u4e86\u89e3 ",(0,s.jsx)(n.code,{children:"Channel"})]}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Channel"})," \u662f\u5728 ",(0,s.jsx)(n.code,{children:".NET Core 2.1+"})," \u7248\u672c\u4e4b\u540e\u52a0\u5165\u3002",(0,s.jsx)(n.code,{children:"Channel"})," \u5e95\u5c42\u5b9e\u73b0\u662f\u4e00\u4e2a\u9ad8\u6548\u7684\u3001\u7ebf\u7a0b\u5b89\u5168\u7684\u961f\u5217\uff0c\u53ef\u4ee5\u5728\u7ebf\u7a0b\u4e4b\u95f4\u4f20\u9012\u6570\u636e\u3002"]}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Channel"})," \u7684\u4e3b\u8981\u5e94\u7528\u573a\u666f\u662f ",(0,s.jsx)(n.code,{children:"\u53d1\u5e03/\u8ba2\u9605\u3001\u89c2\u5bdf\u8005\u6a21\u5f0f"})," \u4e2d\u4f7f\u7528\uff0c\u5982\uff1a",(0,s.jsx)(n.code,{children:"\u4e8b\u4ef6\u603b\u7ebf"})," \u5c31\u662f\u6700\u597d\u7684\u5b9e\u73b0\u65b9\u5f0f\u3002\u901a\u8fc7 ",(0,s.jsx)(n.code,{children:"Channel"})," \u5b9e\u73b0 ",(0,s.jsx)(n.code,{children:"\u751f\u4ea7-\u6d88\u8d39"})," \u673a\u5236\u53ef\u4ee5\u51cf\u5c11\u9879\u76ee\u95f4\u7684\u8026\u5408\uff0c\u63d0\u9ad8\u5e94\u7528\u541e\u5410\u91cf\u3002"]}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Furion"})," \u6846\u67b6\u63d0\u4f9b\u4e86 ",(0,s.jsx)(n.code,{children:"ChannelContext"})," \u5bc6\u5c01\u7c7b\uff0c\u63d0\u4f9b ",(0,s.jsx)(n.code,{children:"UnBoundedChannel"})," \u548c ",(0,s.jsx)(n.code,{children:"BoundedChannel"})," \u4e24\u79cd\u7ba1\u9053\u901a\u4fe1\u6a21\u5f0f\u3002"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"UnBoundedChannel"}),"\uff1a\u5177\u6709\u65e0\u9650\u5bb9\u91cf\u7684 ",(0,s.jsx)(n.code,{children:"Channel"}),", \u751f\u4ea7\u8005\u53ef\u4ee5\u5168\u901f\u8fdb\u884c\u751f\u4ea7\u6570\u636e\uff0c\u4f46\u5982\u679c\u6d88\u8d39\u8005\u7684\u6d88\u8d39\u901f\u5ea6\u4f4e\u4e8e\u751f\u4ea7\u8005\uff0c",(0,s.jsx)(n.code,{children:"Channel"})," \u7684\u8d44\u6e90\u4f7f\u7528\u4f1a\u65e0\u9650\u589e\u52a0\uff0c\u4f1a\u6709\u670d\u52a1\u5668\u8d44\u6e90\u8017\u5c3d\u7684\u53ef\u80fd\u3002"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"BoundedChannel"}),"\uff1a\u5177\u6709\u6709\u9650\u5bb9\u91cf\u7684 ",(0,s.jsx)(n.code,{children:"Channel"}),"\uff0c",(0,s.jsx)(n.code,{children:"Furion"})," \u6846\u67b6\u9ed8\u8ba4\u4e3a ",(0,s.jsx)(n.code,{children:"1000"}),"\uff0c\u5230\u8fbe\u4e0a\u9650\u540e\uff0c\u751f\u4ea7\u8005\u8fdb\u5165\u7b49\u5f85\u5199\u5165\u76f4\u5230\u6709\u7a7a\u95f2\uff0c\u597d\u5904\u662f\u53ef\u4ee5\u63a7\u5236\u751f\u4ea7\u7684\u901f\u5ea6\uff0c\u63a7\u5236\u7cfb\u7edf\u8d44\u6e90\u7684\u4f7f\u7528\u3002",(0,s.jsx)(n.strong,{children:"\uff08\u63a8\u8350\uff09"})]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"3342-\u5e38\u89c4\u4f7f\u7528",children:"33.4.2 \u5e38\u89c4\u4f7f\u7528"}),"\n",(0,s.jsxs)(n.h4,{id:"\u521b\u5efa-channelhandlertmessage-\u7ba1\u9053\u5904\u7406\u7a0b\u5e8f",children:["\u521b\u5efa ",(0,s.jsx)(n.code,{children:"ChannelHandler"})," \u7ba1\u9053\u5904\u7406\u7a0b\u5e8f"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-cs",metastring:"showLineNumbers {1,10,17}",children:'using Furion.IPCChannel;\r\nusing System;\r\nusing System.Threading.Tasks;\r\n\r\nnamespace Furion.Core\r\n{\r\n /// \r\n /// \u521b\u5efa\u7ba1\u9053\u5904\u7406\u7a0b\u5e8f\uff08\u5904\u7406 String \u7c7b\u578b\u6d88\u606f\uff09\r\n /// \r\n public class MyChannelHandler : ChannelHandler\r\n {\r\n /// \r\n /// \u63a5\u53d7\u5230\u7ba1\u9053\u6d88\u606f\u540e\u5904\u7406\u7a0b\u5e8f\r\n /// \r\n /// \r\n /// \r\n public override Task InvokeAsync(string message)\r\n {\r\n Console.WriteLine(message);\r\n\r\n return Task.CompletedTask;\r\n }\r\n }\r\n}\n'})}),"\n",(0,s.jsx)(n.admonition,{type:"note",children:(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:" ChannelHandler"})," \u6cdb\u578b\u7c7b\u578b\u51b3\u5b9a\u4e86\u4f60\u8981\u63a5\u53d7\u90a3\u79cd\u7c7b\u578b\u7684\u6d88\u606f\uff0c\u4e0d\u540c\u7c7b\u578b\u6d88\u606f\u5c06\u4f1a\u81ea\u52a8\u8fc7\u6ee4\u7b5b\u9009\u3002"]})}),"\n",(0,s.jsxs)(n.h4,{id:"\u4f7f\u7528-channelcontexttmessage-thandler-\u53d1\u9001\u6d88\u606f",children:["\u4f7f\u7528 ",(0,s.jsx)(n.code,{children:"ChannelContext"})," \u53d1\u9001\u6d88\u606f"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-cs",metastring:"showLineNumbers {5-6}",children:'public async Task SendAsync()\r\n{\r\n for (int i = 0; i < 100; i++)\r\n {\r\n // \u4f7f\u7528\u6709\u9650\u5bb9\u91cf\u751f\u4ea7\u6570\u636e\r\n await ChannelContext.BoundedChannel.Writer.WriteAsync($"Loop {i} times.");\r\n }\r\n}\n'})}),"\n",(0,s.jsxs)(n.p,{children:["\u4ee5\u4e0a\u4ee3\u7801\u4e5f\u53ef\u4ee5\u901a\u8fc7 ",(0,s.jsx)(n.code,{children:"ChannelContext.BoundedChannel.Writer.TryWrite()"})," \u540c\u6b65\u5199\u5165\u3002"]}),"\n",(0,s.jsx)(n.h3,{id:"3343-\u5b9e\u73b0\u591a\u8ba2\u9605",children:"33.4.3 \u5b9e\u73b0\u591a\u8ba2\u9605"}),"\n",(0,s.jsxs)(n.p,{children:["\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c",(0,s.jsx)(n.code,{children:"Furion"})," \u521d\u59cb\u5316\u4e86\u4e00\u4e2a\u957f\u65f6\u95f4\u7684 ",(0,s.jsx)(n.code,{children:"Task"})," \u4efb\u52a1\u8fdb\u884c\u6570\u636e\u68c0\u67e5\u53ca\u8ba2\u9605\uff0c\u5982\u9700\u5b9e\u73b0\u591a\u8ba2\u9605\u6a21\u5f0f\uff0c\u53ef\u521b\u5efa\u65b0\u7684\u8ba2\u9605\u4efb\u52a1\u5373\u53ef\uff1a"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-cs",metastring:"showLineNumbers ",children:"var reader = ChannelContext.BoundedChannel.Reader;\r\n\r\n// \u521b\u5efa\u957f\u65f6\u95f4\u7ebf\u7a0b\u7ba1\u9053\u8bfb\u53d6\u5668\r\n_ = Task.Factory.StartNew(async () =>\r\n {\r\n while (await reader.WaitToReadAsync())\r\n {\r\n if (!reader.TryRead(out var message)) continue;\r\n // \u9ed8\u8ba4\u91cd\u8bd5 3 \u6b21\uff08\u6bcf\u6b21\u95f4\u9694 1s\uff09\r\n await Retry.Invoke(async () => await Activator.CreateInstance().InvokeAsync(message), 3, 1000, finalThrow: false);\r\n }\r\n }, TaskCreationOptions.LongRunning);\n"})}),"\n",(0,s.jsxs)(n.h3,{id:"3344-\u66f4\u591a-channel-\u77e5\u8bc6",children:["33.4.4 \u66f4\u591a ",(0,s.jsx)(n.code,{children:"Channel"})," \u77e5\u8bc6"]}),"\n",(0,s.jsxs)(n.p,{children:["\u53ef\u67e5\u9605 ",(0,s.jsx)(n.a,{href:"https://www.cnblogs.com/tiger-wang/p/14068973.html",children:"Dotnet Core \u4e0b\u7684 Channel, \u4f60\u7528\u4e86\u5417\uff1f"})," \u535a\u5ba2\u6559\u7a0b\uff08\ud83d\ude03 \u5199\u7684\u4e0d\u9519\uff09"]}),"\n",(0,s.jsxs)(n.h3,{id:"3345-callcontext-\u65b9\u5f0f",children:["33.4.5 ",(0,s.jsx)(n.code,{children:"CallContext"})," \u65b9\u5f0f"]}),"\n",(0,s.jsxs)(n.p,{children:["\u5728 ",(0,s.jsx)(n.code,{children:"Furion v2.18+"})," \u7248\u672c\u63d0\u4f9b\u4e86 ",(0,s.jsx)(n.code,{children:"CallContext"})," \u9759\u6001\u7c7b\uff0c\u5185\u90e8\u4f7f\u7528 ",(0,s.jsx)(n.code,{children:"AsyncLocal"})," \u5b9e\u73b0\uff0c\u4e5f\u53ef\u4ee5\u5b9e\u73b0\u7ebf\u7a0b\u95f4\u901a\u4fe1\uff0c\u5982\uff1a"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-cs",metastring:"showLineNumbers ",children:'CallContext.SetLocalValue("name", "Furion");\r\nCallContext.GetLocalValue("name");\r\n\r\nCallContext.SetLocalValue("count", 1);\r\nCallContext.GetLocalValue("count");\n'})}),"\n",(0,s.jsx)(n.h2,{id:"345-\u8fdb\u7a0b\u5916\u901a\u4fe1\u5171\u4eab\u5185\u5b58",children:"34.5 \u8fdb\u7a0b\u5916\u901a\u4fe1\uff08\u5171\u4eab\u5185\u5b58\uff09"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Furion"})," \u76ee\u524d\u6682\u672a\u63d0\u4f9b\u7684\u8fdb\u7a0b\u5916\u901a\u4fe1\u529f\u80fd\uff0c\u5c06\u5728\u540e\u7eed\u7248\u672c\u5b9e\u73b0\uff08\u4e3b\u8981\u662f\u6a21\u5757\u8bbe\u8ba1\u8fd8\u672a\u60f3\u597d\uff0c\u6280\u672f\u5df2\u5b9e\u73b0\uff09\u3002"]}),"\n",(0,s.jsxs)(n.p,{children:["\u4e3b\u8981\u662f\u901a\u8fc7 ",(0,s.jsx)(n.code,{children:"MemoryMapperFile"})," \u5b9e\u73b0\u5171\u4eab\u5185\u5b58\u8fbe\u5230\u8fdb\u7a0b\u5916\u901a\u4fe1\u529f\u80fd\uff0c",(0,s.jsx)(n.a,{href:"https://docs.microsoft.com/zh-cn/dotnet/api/system.io.memorymappedfiles.memorymappedfile?view=net-5.0",children:"\u4e86\u89e3\u66f4\u591a MemoryMapperFile"})]}),"\n",(0,s.jsx)(n.h2,{id:"336-\u53cd\u9988\u4e0e\u5efa\u8bae",children:"33.6 \u53cd\u9988\u4e0e\u5efa\u8bae"}),"\n",(0,s.jsx)(n.admonition,{title:"\u4e0e\u6211\u4eec\u4ea4\u6d41",type:"note",children:(0,s.jsxs)(n.p,{children:["\u7ed9 Furion \u63d0 ",(0,s.jsx)(n.a,{href:"https://gitee.com/dotnetchina/Furion/issues/new?issue",children:"Issue"}),"\u3002"]})})]})}function h(e={}){const{wrapper:n}={...(0,l.a)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(t,{...e})}):t(e)}},1151:(e,n,r)=>{r.d(n,{Z:()=>i,a:()=>d});var s=r(7294);const l={},c=s.createContext(l);function d(e){const n=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:d(e.components),s.createElement(c.Provider,{value:n},e.children)}}}]);