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