package promise_jsoo

  1. Overview
  2. Docs
Js_of_ocaml bindings to JS Promises with supplemental functions

Install

Dune Dependency

Authors

Maintainers

Sources

promise_jsoo-0.4.2.tbz
sha256=b262ff66d685cc86d309ac85847b2b399f0c3e99f9b9b06bd6b38b86036dc27c
sha512=dec192b51ad1189bec59c053de3aeca7fb8d6ba4195ed9617d753a202f3b50383f3c059d280833a39c1b3561a61e88d930293219010b2c2e0c102c0e59a8f4e8

doc/CHANGELOG.html

v0.4.2

  • Separate tests by library and remove lwt dependency from promise_jsoo tests.

v0.4.1

  • Require lwt when running promise_jsoo tests.

v0.4.0

  • Add promise_jsoo_lwt library and Promise_lwt module to convert between JS promises and Lwt promises
  • Change internal representation to Ojs.t and make Promise.t abstract.
  • Remove Promise.void type (can now be expressed as unit Promise.t).
  • Add a Make functor to create modules with a custom type representation.
  • Give the error type a public Ojs.t type representation.
  • Remove js_of_ocaml-ppx dependency.

v0.3.1

  • Reduce the size of .js binaries produced by using this library by not linking the ppx toolchain. (#3)

v0.3.0

  • Fix Promise.Array.find_map and Promise.List.find_map raising Assert_failure (#1)
  • Stop calling the function once Promise.Array.find_map and Promise.List.find_map find a value (#1)

v0.2.0

  • Add gen_js_api conversion function for error type
  • Fix gen_js_api conversion function for promise type

v0.1.0

  • Initial release
OCaml

Innovation. Community. Security.