package brr

  1. Overview
  2. Docs
Browser programming toolkit for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

brr-0.0.7.tbz
sha512=4b3d42eb6a32c1d6f1c5ef003f5311b5029156b31f6e51af098b695c769699e0304b66afd2dd574ecf1084e095bbbc4eac552daab083766cd81ed2f1d9897d51

doc/brr/Brr/Abort/index.html

Module Brr.Abort

Aborting browser activities.

This mecanism provides a way to abort futures with a Jv.Error.t named AbortError (`Abort_error in Jv.Error.enum).

module Signal : sig ... end

Abort signals.

type t

The type for AbortController objects.

val controller : unit -> t

controller () is a new abort controller.

val signal : t -> Signal.t

signal c is the signal associated to abort controller c.

val abort : t -> unit

abort c aborts the signal of c and informs its observers the associated activity is to be aborted.

OCaml

Innovation. Community. Security.