Module Stream.Readable

include Interop.Js.T
type t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
type chunk = [
  1. | `String of string
  2. | `Buffer of Buffer.t
]
val on : t -> [ `Close of unit -> unit | `Data of chunk:chunk -> unit | `End of unit -> unit | `Error of err:JsError.t -> unit | `Pause of unit -> unit | `Readable of unit -> unit | `Resume of unit -> unit ] -> unit