Skip to contents

The default reducer. Every update replaces the old value entirely.

Usage

reducer_overwrite()

Value

A two-argument function function(old, new) that returns new.

Examples

r <- reducer_overwrite()
r("old", "new")
#> [1] "new"