polling: Set Polling Frequency

View source: R/core.R

pollingR Documentation

Set Polling Frequency

Description

Set the frequency with which to poll for promise resolution (the default being 100 milliseconds).

Usage

polling(freq = 100L)

Arguments

freq

[default 100L] integer number of milliseconds.

Value

Invisible NULL.

Examples

# set polling frequency to 1s
polling(freq = 1000L)

# reset polling frequency to default 100 ms
polling()


mirai.promises documentation built on Nov. 5, 2023, 5:07 p.m.