Make.Resource
A resource that must be explicitly disposed.
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.