-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BoxEvent value is null when watching a LazyBox #265
Comments
Seems to me like normal behavior. IMHO game.watch().listen is like the default stream subscription so it should behave like one and if its initialized without data its going to return null. |
I don't think it is. Does this still happen? |
Hi, This has just happened to me too. Debugging the code, I think the problem is that in LazyBoxImpl.putAll() the frame is being converted to a lazy Frame using frame.toLazy() and is then passed into the keystore.insert() method. When that frame makes it the the notifier as its a lazy Frame the value is null and this is what is then being sent out onto the stream. Hope that helps solve the problem. |
This just happened to me too. I am on |
I am facing the same problem here with |
I can confirm the problem with |
Question
When watching a lazy box by key, event.value is null. Is this the correct behaviour?
Code sample
Version
The text was updated successfully, but these errors were encountered: