EditionsDiskUsageProvider
@MainActor
public protocol EditionsDiskUsageProvider
Protocol to get disk usage from downloaded editions.
-
Async method that provides through
callbackthe total disk usage in bytes by all downloaded editions.Declaration
Swift
@MainActor func totalDiskUsageByDownloadedEditionsInBytes(callback: @escaping (UInt64) -> Void) -
Async method that provides through
callbackthe disk usage in bytes by the editions with ideditionId.Declaration
Swift
@MainActor func diskUsageByDownloadedEdition(editionId: UUID, callback: @escaping (UInt64) -> Void)