Preparing search index...
The search index is not available
@just4/polling
@just4/polling
types
IPollingOptions
Interface IPollingOptions
轮询选项。
interface
IPollingOptions
{
breakOnError
?:
boolean
;
interval
?:
number
;
shouldContinue
?:
(
(
)
=>
boolean
)
;
}
Index
Properties
break
On
Error?
interval?
should
Continue?
Properties
Optional
break
On
Error
break
On
Error
?:
boolean
出错时是否中断,默认为 false。
Optional
interval
interval
?:
number
轮询间隔(毫秒),默认为 1000 毫秒。
Optional
should
Continue
should
Continue
?:
(
(
)
=>
boolean
)
判断是否继续执行轮询操作的函数,返回值为 false 时停止轮询。
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
break
On
Error
interval
should
Continue
@just4/polling
Loading...
轮询选项。