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.3.tbz
sha256=7c889da114dd89eeb89d9d5a50ad895a1709a35fc50f33f852efa04c96a876d2
sha512=b3ebecd4789bf40d60b9efe5117535e58af663e0a1a9b51be25ecba41f15472b76de356472b2457eeca8a9d3b6deae4cb33eaf03be596af0606b5409d12ec3b6

doc/CHANGELOG.html

v0.4.3

  • No longer rely on joo_global_object (#7)

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.