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