aboutsummaryrefslogtreecommitdiffstats
path: root/lib/protocols/Registry.mli
blob: 627a60f9b5885d19f3e7cffa557cf60f087b5e12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
type t

class type implementation = object
  method update :
    string -> Handle.t option -> Handle.t option -> (bool, Concepts.Condition.condition) result
end

val make : #implementation -> Handle.protocol
val from : Handle.t -> t Handle.interface option

val update :
  t Handle.interface ->
  string ->
  Handle.t option ->
  Handle.t option ->
  (bool, Concepts.Condition.condition) result