aboutsummaryrefslogtreecommitdiffstats
path: root/lib/protocols/Handle.mli
diff options
context:
space:
mode:
authorEstevan Castilho <tevo@riajuu.net>2026-09-19 01:08:28 +0000
committerEstevan Castilho <tevo@riajuu.net>2026-09-19 01:09:24 +0000
commit2e2d7f6a9b116dac2fa20be657c916cb498c1508 (patch)
tree94d39b1c49f69d1ca851e6e53b80297e603546bf /lib/protocols/Handle.mli
parentc80121c23a90c60b9975e04a49d98c8dfb4866a1 (diff)
downloadRNT-2e2d7f6a9b116dac2fa20be657c916cb498c1508.tar.gz
RNT-2e2d7f6a9b116dac2fa20be657c916cb498c1508.zip
Do not assume that the hash of an object is its storage address
Diffstat (limited to 'lib/protocols/Handle.mli')
-rw-r--r--lib/protocols/Handle.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/protocols/Handle.mli b/lib/protocols/Handle.mli
index f36c95e..f63bbea 100644
--- a/lib/protocols/Handle.mli
+++ b/lib/protocols/Handle.mli
@@ -22,3 +22,5 @@ val equal : t -> t -> bool
val release : t -> unit
val hash : t -> Concepts.Hash.hash
+
+val require : (t -> 'a interface option) -> t -> ('a interface, Concepts.Condition.condition) result