Function graph_restore_snapshot

Source
pub async fn graph_restore_snapshot<R: Runtime>(
    app: AppHandle<R>,
    state: State<'_, GraphPluginState>,
    payload: RestoreSnapshotPayload,
) -> Result<RestoreSnapshotResult, String>
Expand description

Return a previously persisted snapshot string and emit a SnapshotRestoredEvent.