async_js
A small library that provide Async support for JavaScript platforms
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package async_js
-
async_js
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library async_js
val write :
'a t ->
'a ->
[ `Flushed of unit Async_kernel.Deferred.t | `Closed ]
write t x
returns `Closed
if t
is closed, or `Flushed d
if it is open. In the open case, d
is determined when the message has been flushed from the underlying Transport.Writer.t
.
val write_without_pushback : 'a t -> 'a -> [ `Ok | `Closed ]
val close : _ t -> unit
val closed : _ t -> unit Async_kernel.Deferred.t
val flushed : _ t -> unit Async_kernel.Deferred.t
val is_closed : _ t -> bool
module Expert : sig ... end
module Group : sig ... end
Group of direct writers. Groups are optimized for sending the same message to multiple clients at once.
ON THIS PAGE
No table of contents