mirage-device

Abstract devices for MirageOS
Overview Documentation
IN THIS PACKAGE
Module type Mirage_device . S
type +'a io

The type for potentially blocking I/O operation

type t

The type representing the internal state of the device

val disconnect : t -> unit io

Disconnect from the device. While this might take some time to complete, it can never result in an error.