Skip to main content

migration_progress_stream

Function migration_progress_stream 

Source
pub async fn migration_progress_stream<S: StorageClient + StorageSchemaContextOps + StorageSyncContextOps + StorageOperationContextOps + Clone + Send + Sync + 'static>(
    __arg0: State<AppState<S>>,
    __arg1: Path<(String, String)>,
    __arg2: Query<MigrationProgressQuery>,
) -> Sse<impl Stream<Item = Result<Event, Infallible>> + Send + 'static>
Expand description

SSE endpoint to stream migration progress for a given space/label.

Example: GET /v1/migration/stream/{space}/{label}?is_edge=false