diff options
Diffstat (limited to '')
| -rw-r--r-- | lib/runtime/Context.mli | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/runtime/Context.mli b/lib/runtime/Context.mli new file mode 100644 index 0000000..31ef194 --- /dev/null +++ b/lib/runtime/Context.mli @@ -0,0 +1,8 @@ +val over : + root:Protocols.Handle.t -> + ?budget:int -> + ?cancelled:(unit -> bool) -> + unit -> + Protocols.Context.t + +val remaining : Protocols.Context.t -> int option |
