IAssetSnapshotSource interface

Namespace Runic.Assets · Runic.Assets 0.7.0-preview.5

public interface IAssetSnapshotSource : IAssetSource, IAssetManifestProvider

Inherits or implements IAssetSource, IAssetManifestProvider.

Opens one asset as an immutable descriptor-and-stream unit. Transports use this boundary so response metadata always describes the exact stream being delivered.

Methods

OpenSnapshotAsync

ValueTask<AssetReadSnapshot> OpenSnapshotAsync(string relativePath, CancellationToken cancellationToken = default)

Opens one exact manifest asset and its matching immutable descriptor.