View Source EctoFoundationDB.Future (Ecto.Adapters.FoundationDB v0.5.0)

Opaque struct that represents an unresolved result set from some FoundationDB query operation.

If you have received a Future from an EctoFDB Repo API, please consult the documentation for that API for dealing with the Future. The functions here are intended to be for internal use only.

Summary

Functions

Link to this function

find_ready(futs, ready_ref)

View Source
Link to this function

leaving_transactional(fut)

View Source
Link to this function

new_deferred(erlfdb_future, handler \\ &Function.identity/1)

View Source

Creates a Future that will be resolved outside of the transaction in which it was created.

Used for:

  • watch
  • versionstamp
Link to this function

set(fut, tx, erlfdb_future, f \\ &Function.identity/1)

View Source