package capnp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
method dispatch : interface_id:Uint64.t -> method_id:int -> abstract_method_t

Look up a method by ID. The schema compiler generates an implementation of this that dispatches to the typed methods of the interface.

method release : unit

Called when the service's ref-count drops to zero. Implementations that hold other capabilities should override this to release them in turn.

method pp : Stdlib.Format.formatter -> unit

Used to identify the service in log messages. The schema compiler generates a default that displays the service's name.