JSHandle.dispose() 方法
🌐 JSHandle.dispose() method
释放句柄引用的对象以进行垃圾回收。
🌐 Releases the object referenced by the handle for garbage collection.
语法
🌐 Signature
class JSHandle {
abstract dispose(): Promise<void>;
}
返回:
Promise<void>
🌐 JSHandle.dispose() method
释放句柄引用的对象以进行垃圾回收。
🌐 Releases the object referenced by the handle for garbage collection.
🌐 Signature
class JSHandle {
abstract dispose(): Promise<void>;
}
返回:
Promise<void>