1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["14553"],{56549(e,n,t){t.r(n),t.d(n,{metadata:()=>i,default:()=>p,frontMatter:()=>a,contentTitle:()=>l,toc:()=>o,assets:()=>d});var i=JSON.parse('{"id":"api/puppeteer.writabledestination.once","title":"WritableDestination.once() method","description":"Signature","source":"@site/.generated-docs/next/api/puppeteer.writabledestination.once.md","sourceDirName":"api","slug":"/api/puppeteer.writabledestination.once","permalink":"/next/api/puppeteer.writabledestination.once","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"sidebar_label":"WritableDestination.once"},"sidebar":"api","previous":{"title":"WritableDestination.end","permalink":"/next/api/puppeteer.writabledestination.end"},"next":{"title":"WritableDestination.write","permalink":"/next/api/puppeteer.writabledestination.write"}}'),r=t(74848),s=t(28453);let a={sidebar_label:"WritableDestination.once"},l="WritableDestination.once() method",d={},o=[{value:"Signature",id:"signature",level:3},{value:"Parameters",id:"parameters",level:2}];function c(e){let n={code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",strong:"strong",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"writabledestinationonce-method",children:"WritableDestination.once() method"})}),"\n",(0,r.jsx)(n.h3,{id:"signature",children:"Signature"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:"interface WritableDestination {\n once?(event: string, cb: (arg?: unknown) => void): unknown;\n}\n"})}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)("table",{children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:(0,r.jsx)(n.p,{children:"Parameter"})}),(0,r.jsx)("th",{children:(0,r.jsx)(n.p,{children:"Type"})}),(0,r.jsx)("th",{children:(0,r.jsx)(n.p,{children:"Description"})})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)(n.p,{children:"event"})}),(0,r.jsx)("td",{children:(0,r.jsx)(n.p,{children:"string"})}),(0,r.jsx)("td",{})]}),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:(0,r.jsx)(n.p,{children:"cb"})}),(0,r.jsx)("td",{children:(0,r.jsx)(n.p,{children:"(arg?: unknown) => void"})}),(0,r.jsx)("td",{})]})]})]}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Returns:"})}),"\n",(0,r.jsx)(n.p,{children:"unknown"})]})}function p(e={}){let{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},28453(e,n,t){t.d(n,{R:()=>a,x:()=>l});var i=t(96540);let r={},s=i.createContext(r);function a(e){let n=i.useContext(s);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),i.createElement(s.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.