markJetpackAsDeleted

abstract suspend fun markJetpackAsDeleted(jetpack: Jetpack): Result<Unit>

Marks a jetpack as deleted in the repository.

Return

A Result indicating the success or failure of the operation.

Parameters

jetpack

The Jetpack object to mark as deleted.

Samples

return suspendRunCatching {
    localDataSource.markJetpackAsDeleted(jetpack.id)
    syncManager.requestSync()
}