coro_debug: Debug a generator or async function

View source: R/generator.R

coro_debugR Documentation

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 documentation built on Oct. 16, 2024, 1:09 a.m.