RestartInterval

RestartInterval

是一个选项,用来控制像 ContinuousTask 这样的函数的重启行为.

更多信息

范例

基本范例  (1)

默认情况下,一个失败的 ContinuousTask 运算会导致尝试重启之间的间隔逐渐变长. 如果想避免这种情况,提供秒数或一个时间 Quantity

提供一个函数,它把连续失败的次数作为参数并返回秒数:

删除任务:

Wolfram Research (2015),RestartInterval,Wolfram 语言函数,https://reference.wolfram.com/language/ref/RestartInterval.html.

文本

Wolfram Research (2015),RestartInterval,Wolfram 语言函数,https://reference.wolfram.com/language/ref/RestartInterval.html.

CMS

Wolfram 语言. 2015. "RestartInterval." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/RestartInterval.html.

APA

Wolfram 语言. (2015). RestartInterval. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/RestartInterval.html 年

BibTeX

@misc{reference.wolfram_2024_restartinterval, author="Wolfram Research", title="{RestartInterval}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/RestartInterval.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_restartinterval, organization={Wolfram Research}, title={RestartInterval}, year={2015}, url={https://reference.wolfram.com/language/ref/RestartInterval.html}, note=[Accessed: 22-November-2024 ]}