"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[84220],{3905:(e,n,t)=>{t.d(n,{Zo:()=>l,kt:()=>y});var r=t(67294);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(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 p(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var i=r.createContext({}),s=function(e){var n=r.useContext(i),t=n;return e&&(t="function"==typeof e?e(n):p(p({},n),e)),t},l=function(e){var n=s(e.components);return r.createElement(i.Provider,{value:n},e.children)},u={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},f=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),f=s(t),y=o,m=f["".concat(i,".").concat(y)]||f[y]||u[y]||a;return t?r.createElement(m,p(p({ref:n},l),{},{components:t})):r.createElement(m,p({ref:n},l))}));function y(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var a=t.length,p=new Array(a);p[0]=f;var c={};for(var i in n)hasOwnProperty.call(n,i)&&(c[i]=n[i]);c.originalType=e,c.mdxType="string"==typeof e?e:o,p[1]=c;for(var s=2;s{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>c,default:()=>f,frontMatter:()=>p,metadata:()=>i,toc:()=>l});t(67294);var r=t(3905);function o(){return o=Object.assign||function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}const p={sidebar_label:"ConnectionTransport.onclose"},c="ConnectionTransport.onclose property",i={unversionedId:"api/puppeteer.connectiontransport.onclose",id:"version-19.7.4/api/puppeteer.connectiontransport.onclose",title:"ConnectionTransport.onclose property",description:"Signature:",source:"@site/versioned_docs/version-19.7.4/api/puppeteer.connectiontransport.onclose.md",sourceDirName:"api",slug:"/api/puppeteer.connectiontransport.onclose",permalink:"/api/puppeteer.connectiontransport.onclose",draft:!1,tags:[],version:"19.7.4",frontMatter:{sidebar_label:"ConnectionTransport.onclose"},sidebar:"api",previous:{title:"ConnectionTransport.close",permalink:"/api/puppeteer.connectiontransport.close"},next:{title:"ConnectionTransport.onmessage",permalink:"/api/puppeteer.connectiontransport.onmessage"}},s={},l=[{value:"Signature:",id:"signature",level:4}],u={toc:l};function f(e){var{components:n}=e,t=a(e,["components"]);return(0,r.kt)("wrapper",o({},u,t,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("h1",o({},{id:"connectiontransportonclose-property"}),"ConnectionTransport.onclose property"),(0,r.kt)("h4",o({},{id:"signature"}),"Signature:"),(0,r.kt)("pre",null,(0,r.kt)("code",o({parentName:"pre"},{className:"language-typescript"}),"interface ConnectionTransport {\n onclose?: () => void;\n}\n")))}f.isMDXComponent=!0}}]);