package capnp-rpc

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

A mix-in to help with writing reference-counted objects. It will call self#release when the ref-count reaches zero.

method private virtual release : unit
method virtual pp : Format.formatter -> unit
method private pp_refcount : Format.formatter -> unit

Write the current ref-count to the formatter (use with "%t").

method private check_refcount : unit

Raise an exception if the ref-count is less than one (i.e. check that the object hasn't already been freed).

method update_rc : int -> unit
method check_invariants : unit
method virtual blocker : base_ref option
method sealed_dispatch : 'a. 'a Capnp_rpc__.S.brand -> 'a option
OCaml

Innovation. Community. Security.