debugAsync {async}R Documentation

Toggle single-step debugging for a coroutine.

Description

Toggle single-step debugging for a coroutine.

Usage

debugAsync(x, R, internal, trace)

Arguments

x

A coroutine object as constructed by (async, gen or stream).

R

Set TRUE to step through expressions at user level

internal

Set TRUE to step through at coroutine implementation level.

trace

Set TRUE or provide a print function to print each R expression evaluated in turn.

Value

a list(R=, internal=, trace=) with the current debug state.


[Package async version 0.3.2 Index]