package brr

  1. Overview
  2. Docs
Browser programming toolkit for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

brr-0.0.8.tbz
sha512=49e7bfbad2ea6a0139354e4a33c59c8a113c4c1e20a4f629bc5cad24aa801e474b4af10ce35adbda5d23dd294d1de5efa5b10bb3030d03f4758459977250a0f6

doc/brr/Brr/Abort/index.html

Module Brr.AbortSource

Aborting browser activities.

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

Sourcemodule Signal : sig ... end

Abort signals.

Sourcetype t

The type for AbortController objects.

Sourceval controller : unit -> t

controller () is a new abort controller.

Sourceval signal : t -> Signal.t

signal c is the signal associated to abort controller c.

Sourceval 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.