aboutsummaryrefslogtreecommitdiffstats
path: root/lib/protocols/Handle.mli
diff options
context:
space:
mode:
authorEstevan Castilho <tevo@riajuu.net>2026-10-10 01:09:17 +0000
committerEstevan Castilho <tevo@riajuu.net>2026-10-10 01:09:17 +0000
commit9be5137143177492e82dc25e6dbd3b82e3aa7e5d (patch)
treed2206c6c67a395cc1e6f3b1e47c2da812a83bf96 /lib/protocols/Handle.mli
parentbd152dc4311a117f125916e1f75cb5ce02752630 (diff)
downloadRNT-9be5137143177492e82dc25e6dbd3b82e3aa7e5d.tar.gz
RNT-9be5137143177492e82dc25e6dbd3b82e3aa7e5d.zip
Make namespaces take ownership of the handles it is given
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 f1a9609..47cee38 100644
--- a/lib/protocols/Handle.mli
+++ b/lib/protocols/Handle.mli
@@ -16,6 +16,7 @@ val into : t -> (protocol -> 'a option) -> 'a interface option
val from : 'a interface -> t
val invoke : 'a interface -> ('a -> 'b) -> 'b
val copy : t -> t option
+val move : t -> t
val equal : t -> t -> bool
val release : t -> unit
val hash : t -> Concepts.Hash.hash
@@ -24,4 +25,5 @@ val to_string : t -> string
val require : (t -> 'a interface option) -> t -> ('a interface, Concepts.Condition.condition) result
val with_autorelease : (unit -> 'a) -> 'a
val without_autorelease : (unit -> 'a) -> 'a
+val autorelease : t -> unit
val keep : t -> unit