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
val implement :
?on_exception:On_exception.t ->
_ t ->
( 'connection_state -> Core.Bigstring.t -> pos:int -> len:int -> unit ) ->
'connection_state Implementation.t
val dispatch :
_ t ->
{Connection}2.t ->
Core.Bigstring.t ->
pos:int ->
len:int ->
[ `Ok | `Connection_closed ]
val schedule_dispatch :
_ t ->
{Connection}2.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.
ON THIS PAGE
No table of contents