cocos-enhance-kit/assets/js/30458247.e7dbb360.js

1 line
20 KiB
JavaScript
Raw Permalink Normal View History

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3982],{3905:function(e,n,t){t.d(n,{Zo:function(){return c},kt:function(){return d}});var r=t(67294);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?l(Object(t),!0).forEach((function(n){a(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function o(e,n){if(null==e)return{};var t,r,a=function(e,n){if(null==e)return{};var t,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)t=l[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)t=l[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var p=r.createContext({}),u=function(e){var n=r.useContext(p),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},c=function(e){var n=u(e.components);return r.createElement(p.Provider,{value:n},e.children)},s={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},k=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),k=u(t),d=a,m=k["".concat(p,".").concat(d)]||k[d]||s[d]||l;return t?r.createElement(m,i(i({ref:n},c),{},{components:t})):r.createElement(m,i({ref:n},c))}));function d(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var l=t.length,i=new Array(l);i[0]=k;var o={};for(var p in n)hasOwnProperty.call(n,p)&&(o[p]=n[p]);o.originalType=e,o.mdxType="string"==typeof e?e:a,i[1]=o;for(var u=2;u<l;u++)i[u]=t[u];return r.createElement.apply(null,i)}return r.createElement.apply(null,t)}k.displayName="MDXCreateElement"},12838:function(e,n,t){t.r(n),t.d(n,{assets:function(){return c},contentTitle:function(){return p},default:function(){return d},frontMatter:function(){return o},metadata:function(){return u},toc:function(){return s}});var r=t(87462),a=t(63366),l=(t(67294),t(3905)),i=["components"],o={sidebar_position:4,description:"\u8f7b\u677e\u5730\u5c06\u9879\u76ee\u903b\u8f91\u591a\u7ebf\u7a0b\u5316\u3002"},p="\u81ea\u5b9a\u4e49\u591a\u7ebf\u7a0b\u6269\u5c55",u={unversionedId:"user-guide/multithread/thread-custom",id:"version-2.3.0/user-guide/multithread/thread-custom",title:"\u81ea\u5b9a\u4e49\u591a\u7ebf\u7a0b\u6269\u5c55",description:"\u8f7b\u677e\u5730\u5c06\u9879\u76ee\u903b\u8f91\u591a\u7ebf\u7a0b\u5316\u3002",source:"@site/versioned_docs/version-2.3.0/user-guide/multithread/thread-custom.md",sourceDirName:"user-guide/multithread",slug:"/user-guide/multithread/thread-custom",permalink:"/cocos-enhance-kit/docs/2.3.0/user-guide/multithread/thread-custom",draft:!1,tags:[],version:"2.3.0",sidebarPosition:4,frontMatter:{sidebar_position:4,description:"\u8f7b\u677e\u5730\u5c06\u9879\u76ee\u903b\u8f91\u591a\u7ebf\u7a0b\u5316\u3002"},sidebar:"tutorialSidebar",previous:{title:"XMLHttpRequest",permalink:"/cocos-enhance-kit/docs/2.3.0/user-guide/multithread/thread-http"},next:{title:"\u7834\u574f\u6027\u53d8\u66f4",permalink:"/cocos-enhance-kit/docs/2.3.0/breaking-change"}},c={},s=[{value:"\u542f\u7528\u591a\u7ebf\u7a0b\u6269\u5c55",id:"\u542f\u7528\u591a\u7ebf\u7a0b\u6269\u5c55",level:2},{value:"\u521b\u5efa\u591a\u7ebf\u7a0b\u6269\u5c55",id:"\u521b\u5efa\u591a\u7ebf\u7a0b\u6269\u5c55",level:2},{value:"\u521d\u8bc6\u591a\u7ebf\u7a0b\u67b6\u6784",id:"\u521d\u8bc6\u591a\u7ebf\u7a0b\u67b6\u6784",level:2},{value:"\u7f16\u5199\u591a\u7ebf\u7a0b\u811a\u672c",id:"\u7f16\u5199\u591a\u7ebf\u7a0b\u811a\u672c",level:2},{value:"\u521b\u5efa\u811a\u672c",id:"\u521b\u