package async_rpc_kernel

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

Module One_way.ExpertSource

Sourceval implement : ?on_exception:On_exception.t -> _ t -> ('connection_state -> Core.Bigstring.t -> pos:int -> len:int -> unit) -> 'connection_state Implementation.t
Sourceval dispatch : _ t -> Connection.t -> Core.Bigstring.t -> pos:int -> len:int -> [ `Ok | `Connection_closed ]
Sourceval schedule_dispatch : _ t -> Connection.t -> Core.Bigstring.t -> pos:int -> len:int -> [ `Flushed of unit Async_kernel.Deferred.t | `Connection_closed ]

Like dispatch, but does not copy data out of the buffer, so it must not change until the returned unit Deferred.t is determined.