package affect

All checked builds pass
  1. Overview
  2. Docs
Streamlined and natural concurrency model for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

affect-0.0.0.tbz
sha512=b328f6696e60c489da8cc2e8fad0537ca6634a39fc0c5de5840d4f98561f110617ef79ba8285ee8427dd99908c6b3d39114973598cddc5ded91abcce3b91b9a6

Description

Affect is a streamlined and natural concurrency model for OCaml.

It provides parallel asynchronous functions and first-class synchronous actions to orchestrate them. The resulting concurrency model has structured cooperative concurrency, structured cancellation and structured effect handling.

Affect is distributed under the ISC license. The base library has no dependencies. It optionally depends on the cmdliner library and the OCaml unix library.

Homepage: https://erratique.ch/software/affect/

README

Affect — Streamlined and natural concurrency model for OCaml

Affect is a streamlined and natural concurrency model for OCaml.

It provides parallel asynchronous functions and first-class synchronous actions to orchestrate them. The resulting concurrency model has structured cooperative concurrency, structured cancellation and structured effect handling.

Affect is distributed under the ISC license. The base library has no dependencies. It optionally depends on the cmdliner library and the OCaml unix library.

Homepage: https://erratique.ch/software/affect/

Installation

Affect can be installed with opam:

opam install affect

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation can be consulted online or via odig doc affect.

Questions are welcome but better asked on the OCaml forum than on the issue tracker.

Examples

A few examples can be found in the test directory.

Acknowledgements

A grant from the OCaml Software Foundation helped to bring the first public release of affect.

Dependencies (4)

  1. topkg build & >= "1.1.0"
  2. ocamlbuild build
  3. ocamlfind build
  4. ocaml >= "5.5.0"

Dev Dependencies

None

Optional Dependencies (1)

  1. cmdliner

Used by

None

Conflicts (1)

  1. cmdliner < "2.0.0"

Build status

Results of building affect with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.0.0 (this version) n/a n/a n/a n/a good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure