package picos_io

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Resource type.

A resource that must be explicitly disposed.

Represents a disposable resource.

val equal : t -> t -> bool

equal resource1 resource2 determines whether resource1 and resource2 are one and the same.

val hash : t -> int

hash resource computes the hash value for resource.

val dispose : t -> unit

dispose resource releases the resource.

⚠️ The physical resource value may be reused only after dispose has been called on it.

OCaml

Innovation. Community. Security.