Skip to contents

Flushes everything the set_*() and add_layer() calls have changed on an arc_proxy() or arc_map_proxy() as one message, so a pipeline of them costs one re-render.

Usage

arc_update(proxy, ...)

Arguments

proxy

Defines which arc_proxy() or arc_map_proxy() to flush.

...

Reserved for methods.

Value

proxy, invisibly.

Examples

df <- data.frame(species = c("a", "b", "c"), mass = c(1, 5, 3))

if (interactive()) {
  arc_proxy("chart", arc_col(df, species, mass)) |>
    set_flipped() |>
    arc_update()
}