package ezjs_fetch
Module Ezjs_fetch.StreamSource
Source
type tstream_cs =
(transformer Ezjs_min.t Ezjs_min.optdef ->
strategy Ezjs_min.t Ezjs_min.optdef ->
strategy Ezjs_min.t Ezjs_min.optdef ->
tstream Ezjs_min.t)
Ezjs_min.constrSource
type wstream_cs =
(underlying_sink Ezjs_min.t Ezjs_min.optdef ->
strategy Ezjs_min.t Ezjs_min.optdef ->
wstream Ezjs_min.t)
Ezjs_min.constrSource
type rstream_cs =
(underlying_source Ezjs_min.t Ezjs_min.optdef ->
strategy Ezjs_min.t Ezjs_min.optdef ->
rstream Ezjs_min.t)
Ezjs_min.constrSource
val read :
source:
[< `reader of reader Ezjs_min.t
| `stream of rstream Ezjs_min.t * string option ] ->
fold:('a -> 'b Ezjs_min.t -> ('a, string option) Ezjs_min.result) ->
'a ->
(('a, Js_of_ocaml.Js.Js_error.error_t) Ezjs_min.result -> unit) ->
unit