Learn R Programming

mirai.promises (version 0.5.0)

polling: Set Polling Frequency

Description

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

Usage

polling(freq = 100L)

Value

Invisible NULL.

Arguments

freq

[default 100L] integer number of milliseconds.

Examples

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

# reset polling frequency to default 100 ms
polling()

Run the code above in your browser using DataLab