= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Abstract type which can perform monadic concurrent IO.
The abstract type representing a communication channel between two processes.
val make_channel : unit -> chan
make_channel ()
will return a new communication channel Binary_session.IO.chan
.
val read_channel : chan_endpoint -> 'a t
read_channel end_point
reads a marshalled value from end_point
and returns it.
val write_channel :
'a ->
flags:Marshal.extern_flags list ->
chan_endpoint ->
unit t
write_channel v flags end_point
marshals the value v
according to flags
and writes it to end_point
.
val return : 'a -> 'a t
return v
creates a light weight thread returning v
.