apache / couchdb-erlfdb

Erlang API for FoundationDB
https://www.foundationdb.org
Apache License 2.0
28 stars 20 forks source link

Cancel fold range futures #8

Closed nickva closed 4 years ago

nickva commented 4 years ago

Previously we had functions to create and wait on fold range futures, but no way to cancel them. This commit add clauses to cancel/1,2 to do just that.

Also, once the ?IS_FOLD_FUTURE macro is defined, use it in a few function heads instead of the previously used {fold_info, _, _} tuple.