"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[24830],{3905:function(e,t,r){r.d(t,{Zo:function(){return l},kt:function(){return m}});var n=r(67294);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(p[r]=e[r]);return p}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(p[r]=e[r])}return p}var i=n.createContext({}),c=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},l=function(e){var t=c(e.components);return n.createElement(i.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,p=e.mdxType,u=e.originalType,i=e.parentName,l=o(e,["components","mdxType","originalType","parentName"]),d=c(r),m=p,f=d["".concat(i,".").concat(m)]||d[m]||s[m]||u;return r?n.createElement(f,a(a({ref:t},l),{},{components:r})):n.createElement(f,a({ref:t},l))}));function m(e,t){var r=arguments,p=t&&t.mdxType;if("string"==typeof e||p){var u=r.length,a=new Array(u);a[0]=d;var o={};for(var i in t)hasOwnProperty.call(t,i)&&(o[i]=t[i]);o.originalType=e,o.mdxType="string"==typeof e?e:p,a[1]=o;for(var c=2;c"," ",(0,u.kt)("a",{parentName:"p",href:"/puppeteer/docs/10.0.0/puppeteer"},"puppeteer")," ",">"," ",(0,u.kt)("a",{parentName:"p",href:"/puppeteer/docs/10.0.0/puppeteer.httprequest"},"HTTPRequest")," ",">"," ",(0,u.kt)("a",{parentName:"p",href:"/puppeteer/docs/10.0.0/puppeteer.httprequest.enqueueinterceptaction"},"enqueueInterceptAction")),(0,u.kt)("h2",{id:"httprequestenqueueinterceptaction-method"},"HTTPRequest.enqueueInterceptAction() method"),(0,u.kt)("p",null,"Adds an async request handler to the processing queue. Deferred handlers are not guaranteed to execute in any particular order, but they are guarnateed to resolve before the request interception is finalized."),(0,u.kt)("b",null,"Signature:"),(0,u.kt)("pre",null,(0,u.kt)("code",{parentName:"pre",className:"language-typescript"},"enqueueInterceptAction(pendingHandler: () => void | PromiseLike): void;\n")),(0,u.kt)("h2",{id:"parameters"},"Parameters"),(0,u.kt)("table",null,(0,u.kt)("thead",{parentName:"table"},(0,u.kt)("tr",{parentName:"thead"},(0,u.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,u.kt)("th",{parentName:"tr",align:null},"Type"),(0,u.kt)("th",{parentName:"tr",align:null},"Description"))),(0,u.kt)("tbody",{parentName:"table"},(0,u.kt)("tr",{parentName:"tbody"},(0,u.kt)("td",{parentName:"tr",align:null},"pendingHandler"),(0,u.kt)("td",{parentName:"tr",align:null},"() =",">"," void ","|"," PromiseLike","<","unknown",">"),(0,u.kt)("td",{parentName:"tr",align:null})))),(0,u.kt)("b",null,"Returns:"),(0,u.kt)("p",null,"void"))}d.isMDXComponent=!0}}]);