Contents

asynchronousMetadataFlush()

Asynchronously flushes the resource’s buffer cache.

Declaration

func asynchronousMetadataFlush() throws

Discussion

This method schedules a flush of data previously written with delayedMetadataWriteFrom:startingAt:length:error: to the resource and returns immediately without blocking. This method doesn’t wait to check the flush’s status. If an error prevents the flush from being scheduled, the error is indicated by the in-out error parameter.

See Also

Reading and writing data with kernel buffer cache