Skip to content

MetadataCache.work method

MetadataCache › work

Unofficial

Send message to worker to update metadata cache

Signature:

work(arrayBuffer: ArrayBuffer): Promise<CachedMetadata>

Parameters:

Parameter Type Description
arrayBuffer ArrayBuffer The raw file content to process.

Returns: Promise<CachedMetadata>A promise that resolves to the computed metadata.