Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

coro_debug

Debug a generator or async function


Description

  • Call coro_debug() on a generator(), async(), or async_generator() function to enable step-debugging.

  • Alternatively, set options(coro_debug = TRUE) for step-debugging through all functions created with coro.

Usage

coro_debug(fn, value = TRUE)

Arguments

fn

A generator factory or an async function.

value

Whether to debug the function.


coro

'Coroutines' for R

v1.0.1
MIT + file LICENSE
Authors
Lionel Henry [aut, cre], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.