package capnp-rpc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Unique object IDs, for debugging.

type t

A unique ID which can be attached to objects to aid debugging.

val next : unit -> t

next () is a fresh ID, unique since the last reset.

val pp : t Fmt.t
val reset : unit -> unit

Reset the counter. Possibly useful in unit or fuzz tests.

OCaml

Innovation. Community. Security.