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.


lionel-/flowery documentation built on March 12, 2024, 4:29 p.m.