TrackedAssetUpload

Properties

Link copied to clipboard
abstract val messageId: String
Link copied to clipboard
abstract val operationId: String
Link copied to clipboard
abstract val progress: StateFlow<AssetUploadProgress>

Functions

Link copied to clipboard
abstract suspend fun awaitCompletion(): AssetUploadCompletion

Waits for upload, message send and monitor/cancellation cleanup. Cancelling the waiter does not cancel this operation.

Link copied to clipboard
abstract fun cancel()
Link copied to clipboard
abstract suspend fun retry(): TrackedAssetUpload

Retries a failed/cancelled attempt with the same persisted message. Active and successful attempts return themselves.