mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
2.7 KiB
JavaScript
2 lines
2.7 KiB
JavaScript
/*! For license information please see 10c166af.11c4baa9.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[70592],{64408:(e,s,r)=>{r.r(s),r.d(s,{assets:()=>i,contentTitle:()=>c,default:()=>p,frontMatter:()=>n,metadata:()=>a,toc:()=>l});var o=r(85893),t=r(11151);const n={sidebar_label:"Process.hasClosed"},c="Process.hasClosed() method",a={id:"browsers-api/browsers.process.hasclosed",title:"Process.hasClosed() method",description:"Signature:",source:"@site/versioned_docs/version-22.8.2/browsers-api/browsers.process.hasclosed.md",sourceDirName:"browsers-api",slug:"/browsers-api/browsers.process.hasclosed",permalink:"/browsers-api/browsers.process.hasclosed",draft:!1,unlisted:!1,tags:[],version:"22.8.2",frontMatter:{sidebar_label:"Process.hasClosed"},sidebar:"browsersApi",previous:{title:"Process.close",permalink:"/browsers-api/browsers.process.close"},next:{title:"Process.kill",permalink:"/browsers-api/browsers.process.kill"}},i={},l=[{value:"Signature:",id:"signature",level:4}];function d(e){const s={code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,t.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.h1,{id:"processhasclosed-method",children:"Process.hasClosed() method"}),"\n",(0,o.jsx)(s.h4,{id:"signature",children:"Signature:"}),"\n",(0,o.jsx)(s.pre,{children:(0,o.jsx)(s.code,{className:"language-typescript",children:"class Process {\n hasClosed(): Promise<void>;\n}\n"})}),"\n",(0,o.jsx)(s.p,{children:(0,o.jsx)(s.strong,{children:"Returns:"})}),"\n",(0,o.jsx)(s.p,{children:"Promise<void>"})]})}function p(e={}){const{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},75251:(e,s,r)=>{var o=r(67294),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,s,r){var o,n={},l=null,d=null;for(o in void 0!==r&&(l=""+r),void 0!==s.key&&(l=""+s.key),void 0!==s.ref&&(d=s.ref),s)c.call(s,o)&&!i.hasOwnProperty(o)&&(n[o]=s[o]);if(e&&e.defaultProps)for(o in s=e.defaultProps)void 0===n[o]&&(n[o]=s[o]);return{$$typeof:t,type:e,key:l,ref:d,props:n,_owner:a.current}}s.Fragment=n,s.jsx=l,s.jsxs=l},85893:(e,s,r)=>{e.exports=r(75251)},11151:(e,s,r)=>{r.d(s,{Z:()=>a,a:()=>c});var o=r(67294);const t={},n=o.createContext(t);function c(e){const s=o.useContext(n);return o.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),o.createElement(n.Provider,{value:s},e.children)}}}]); |