I am leaning Scala Concurrency
using Future
and Promises
.
I am not getting the point, what is the exact difference between completing the Future using Callback
methods and using Promises?
Does it mean Future Callback methods are actually not completing the Future?Only using Promise we can complete the Future?
Also, I have seen many places like you can read from both Futures and Promises, but you can only write to Promises.