View source: R/generics_reset.R
| reset | R Documentation |
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.
reset(x, ...)
x |
An object with resettable state. |
... |
Passed to methods. |
x, invisibly, with its state restored.
## Not run:
# An archive replayer whose queue has advanced can be rewound:
reset(replayer)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.