Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
t

LiveUploadProgress

trait LiveUploadProgress[Result]

Receives snapshots after accepted browser upload progress reports.

Progress is client-reported status, not a durable event or proof of external object integrity. The callback is not invoked for every hosted server chunk.

Exported from scalive.upload.LiveUploadProgress. View source (scalive/api/src/scalive/upload/LiveUpload.scala:666-672)

Methods1

onProgress

def onProgress(entry: LiveUploadEntry[Result]): zio.package.Task[Unit]

Handles the updated entry snapshot.

The runtime state is updated before this callback runs; a failed effect fails the progress operation but does not roll that update back.

Exported from scalive.upload.LiveUploadProgress.onProgress. View source (scalive/api/src/scalive/upload/LiveUpload.scala:672-672)