Skip to content

MetadataCache.computeMetadataAsync method

MetadataCache › computeMetadataAsync

Unofficial

Compute metadata from raw file content asynchronously.

Signature:

computeMetadataAsync(arrayBuffer: ArrayBuffer): Promise<CachedMetadata | undefined>

Parameters:

Parameter Type Description
arrayBuffer ArrayBuffer The raw file content.

Returns: Promise<CachedMetadata | undefined>A promise that resolves to the computed metadata, or undefined.