unmount(replyHandler:)
Unmounts this volume.
Declaration
func unmount(replyHandler reply: @escaping @Sendable () -> Void)func unmount() asyncParameters
- reply:
A block or closure to indicate success or failure. If unmounting fails, pass an error as the one parameter to the reply handler. If unmounting succeeds, pass
nil. For anasyncSwift implementation, there’s no reply handler; simply return normally.
Discussion
Clear and flush all cached state in your implementation of this method.