scala.concurrent.DelayedLazyVal
A DelayedLazyVal
is a wrapper for lengthy computations which have a valid partially computed result.
The first argument is a function for obtaining the result at any given point in time, and the second is the lengthy computation. Once the computation is complete, the apply
method will stop recalculating it and return a fixed value from that point forward.
the computation to run to completion in another thread
the function to obtain the current value at any point in time
[Since version 2.13.0]
`DelayedLazyVal` Will be removed in the future.
The current result of f(), or the final result if complete.
The current result of f(), or the final result if complete.
Attributesthe current value
Whether the computation is complete.
Whether the computation is complete.
Attributestrue if the computation is complete.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4