Client bindings for FoundationDB based on libfdb
and ctypes
. Essentially it's a fairly small shim around libfdb
, which adds type safety and adapts the concepts of "futures" from FDB to to a user-provided IO monad (probably Lwt or Async).
Installing libfdb
(download here) is a requirement for installing or building this library.
This package is not available on OPAM yet, but in the meantime you can install it in the following manner:
opam pin add fdb git://github.com/andreas/ocaml-fdb.git
dune build
dune runtest
See examples/test_lwt.ml
.