Blocking get for the PropertyStore
Issue #143
closed
The property store is capable of lazy computation.
To schedule a concrete computation for an entity I would call
propertyStore.apply(entity, key)
.
If this is the first time the result is queried, this will return PropertyIsLazilyComputed.
Now i can add the epk to my dependencies and continue or call the propertyStore.waitOnPropertyComputationCompletion()
.
It would be nice to have a blocking get operation on the propertyStore that blocks until the computation of the queried property is completed.
Comments (3)
-
repo owner -
repo owner Given the (current) lack of a convincing use case that is worth taking the risks of glorious misuse I will close this issue. I may consider reopening this issue if a convincing use case is provided.
-
repo owner - changed status to closed
- Log in to comment
In which case do you need such a functionality?
Note that your proposal is inherently dead-lock prone if two analyses would start waiting on each other...