Skip to content

Commit

Permalink
update snapshot manager documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksander Chlebowski committed Nov 13, 2023
1 parent 2c928b2 commit 54f05ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion R/module_snapshot_manager.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
#' which is disassembled for storage and used directly for restoring app state.
#'
#' @section Transferring snapshots:
#' Snapshots uploaded from disk should only be used in the same application they come from.
#' Snapshots uploaded from disk should only be used in the same application they come from,
#' _i.e._ an application that uses the same data and the same modules.
#' To ensure this is the case, `init` stamps `teal_slices` with an app id that is stored in the `app_id` attribute of
#' a `teal_slices` object. When a snapshot is restored from file, its `app_id` is compared to that
#' of the current app state and only if the match is the snapshot admitted to the session.
Expand Down
3 changes: 2 additions & 1 deletion man/snapshot_manager_module.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 54f05ba

Please sign in to comment.