Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

493 B
Raw Blame
pub trait SnapshotStorage {
    /// Stores a snapshot in the storage
    async fn store_snapshot(&self, snapshot: &[u8]) -> worker::Result<()>;
    /// Retrieves a snpashot from the storage
    async fn get_snapshot(&self) -> worker::Result<Vec<u8>>;
    /// Deletes a snapshot, including any fallback copy. Safe to retry.
    async fn delete_snapshot(&self) -> worker::Result<()>;
    /// Checks if a snapshot exists in the storage
    async fn has_snapshot(&self) -> worker::Result<bool>;
}