Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Make.Router
val recv : [ `Router ] t -> (id_t * string list) T.Deferred.t
recv socket
waits for a message on socket
without blocking other Lwt threads.
val send : [ `Router ] t -> id_t -> string list -> unit T.Deferred.t
send socket id message
sends message
on socket
to id
without blocking other Lwt threads.