package picos

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

Module Picos_fd.ResourceSource

Resource type.

A resource that must be explicitly disposed.

Represents a disposable resource.

Sourceval equal : t -> t -> bool

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

Sourceval hash : t -> int

hash resource computes the hash value for resource.

Sourceval 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.