Skip to contents

A shared generic across the LLMR method packages, for objects that carry consumable state. LLMR defines the generic and an erroring default only; a method package (for example, an archive replayer) registers the concrete method that restores its state.

Usage

reset(x, ...)

Arguments

x

An object with resettable state.

...

Passed to methods.

Value

x, invisibly, with its state restored.

Examples

if (FALSE) { # \dontrun{
# An archive replayer whose queue has advanced can be rewound:
reset(replayer)
} # }