Improve message flushing when waiting for a future

Re-use the same function as cancel/2. Also, flush after getting the result to
decreases the change of the message being missed.
1 file changed
tree: 9bd935a4d5ebcb43402a92b76cd0cd3feaae0113
  1. c_src/
  2. include/
  3. notes/
  4. plugins/
  5. priv/
  6. src/
  7. test/
  8. .gitignore
  9. enc
  10. LICENSE
  11. Makefile
  12. README.md
  13. rebar.config
README.md

A FoundationDB client in Erlang

Yay!