You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let r be a result of Future.map call. Its type is Future. When I call r.get() multiple times, it will recompute its value that many times. This behavior differs from ordinary "non-map" Futures which cache computed value.
Let
r
be a result ofFuture.map
call. Its type isFuture
. When I callr.get()
multiple times, it will recompute its value that many times. This behavior differs from ordinary "non-map" Futures which cache computed value.Failing unit-test for illustration:
To recap, two problems here:
map
andask
.Same issue applies to
filter
/reduce
.The text was updated successfully, but these errors were encountered: