Contents

unmount(replyHandler:)

Unmounts this volume.

Declaration

func unmount(replyHandler reply: @escaping  @Sendable () -> Void)
func unmount() async

Parameters

  • 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 an async Swift implementation, there’s no reply handler; simply return normally.

Discussion

Clear and flush all cached state in your implementation of this method.

See Also

Mounting and unmounting