Capnp_rpc_lwtSourceLwt compatibility wrappers.
This module wraps Capnp_rpc to provide the old Lwt API, to make upgrading easier. See https://github.com/mirage/capnp-rpc/blob/master/CHANGES.md for migration instructions.
module Segment = Capnp_rpc.Segmentmodule Message = Capnp_rpc.Messagemodule Slice = Capnp_rpc.Slicemodule StructStorage = Capnp_rpc.StructStoragemodule ListStorage = Capnp_rpc.ListStoragemodule Object = Capnp_rpc.ObjectA promise for a response structure. You can use the generated _get_pipelined functions on a promise to get a promise for a capability inside the promise, and then pipeline messages to that promise without waiting for the response struct to arrive.
A capability is a reference to an object, or to a promise for an object. You can invoke methods on a capability even while it is still only a promise.