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
type t = Implementations.Expert.Responder.t
val schedule :
t ->
Core.Bigstring.t ->
pos:int ->
len:int ->
[ `Flushed of unit Async_kernel.Deferred.t | `Connection_closed ]
As in Writer
, after calling schedule
, you should not overwrite the Bigstring.t
passed in until the responder is flushed.
val write_bigstring : t -> Core.Bigstring.t -> pos:int -> len:int -> unit
On the other hand, these are written immediately.
val write_bin_prot : t -> 'a Bin_prot.Type_class.writer -> 'a -> unit
val write_error : t -> Core.Error.t -> unit
ON THIS PAGE
No table of contents