Xs_handle
A 'handle' is a sub-connection used for a particular purpose. The handle is a convenient place to store sub-connection state
val make : 'a -> 'a t
val get_tid : 'a t -> int32
return the transaction id (typically for debug printing)
val get_client : 'a t -> 'a
return the client instance wrapped in a handle
val no_transaction : 'a -> 'a t
Handle used for 'immediate' non-transactional read/writes
val transaction : 'a -> int32 -> 'a t
Handle used for transactional read/writes
val watching : 'a -> 'a t
Handle used to store watch-related information
module StringSet : sig ... end
val get_accessed_paths : 'a t -> StringSet.t
Get the list of paths we have accessed
val get_watched_paths : 'a t -> StringSet.t
Get the list of paths we're currently watching