WaitForTargetOptions 接口
🌐 WaitForTargetOptions interface
语法
🌐 Signature
export interface WaitForTargetOptions
属性
🌐 Properties
|
属性 🌐 Property |
修饰符 🌐 Modifiers |
类型 🌐 Type |
描述 🌐 Description |
默认 🌐 Default |
|---|---|---|---|---|
|
signal |
|
AbortSignal |
允许你取消 waitFor 调用的信号对象。 🌐 A signal object that allows you to cancel a waitFor call. | |
|
timeout |
|
number |
最大等待时间(毫秒)。传入 🌐 Maximum wait time in milliseconds. Pass |
|