RunnerOptions
Options to be passed to the runner created internally by run(bot)
.
Properties
fetch
ts
fetch?: FetchOptions;
Options that can be passed when fetching new updates. All options here are simply forwarded to get
. The runner itself does not do anything with them.
maxRetryTime
ts
maxRetryTime?: number;
When a call to get
fails, this option specifies the number of milliseconds that the runner should keep on retrying the calls.
retryInterval
ts
retryInterval?: "exponential" | "quadratic" | number;
Time to wait between retries of calls to get
. Can be a number of milliseconds to wait. Can be ‘exponential’ or ‘quadratic’ for increasing backoff starting at 100 milliseconds.
silent
ts
silent?: boolean;
The runner logs all errors from get
calls via console
. Set this option to false
to suppress output.