package bonsai

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

bonsai-v0.15.0.tar.gz
sha256=24c4c3149280abd639034ce3acf60e475a772202099e965be8bd8902524573ef

doc/bonsai.web_ui_file/Bonsai_web_ui_file/File_read/index.html

Module Bonsai_web_ui_file.File_read

type t

An in-progress file read.

val result : t -> (string, Read_error.t) Core.Result.t Ui_effect.t

Gets the result of the read. Will only return Error Aborted if you call abort.

val abort : t -> unit Ui_effect.t
OCaml

Innovation. Community. Security.