puppeteer/docs/api/puppeteer.jshandle.dispose.md

20 lines
257 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: JSHandle.dispose
---
# JSHandle.dispose() method
Releases the object referenced by the handle for garbage collection.
2022-07-05 13:41:43 +00:00
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class JSHandle {
dispose(): Promise<void>;
}
```
**Returns:**
Promise&lt;void&gt;