Skip to main content

retire

Function retire 

pub fn retire(
    store: &Rc<dyn DurableStore>,
    package: &str,
    room: &str,
    origin: &Origin,
    why: &Retirement,
) -> Result<(), TransferError>
Expand description

Stamp origin in room as retired: one last change in its own history, after which it is never opened as a live document again.

ยงErrors

TransferError::Busy while an app still holds the document, a missing or foreign document, or storage failure.