Skip to main content

read

Function read 

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

Read origin as package last made it durable in room, without taking its writer: the app showing it may still be running.

ยงErrors

A missing, retired, foreign-room or malformed document, or storage failure.