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
This could be helpful to invalidate anything that relies on latest config change.
Examples are most UI related stuff (like parts of a Ui in View DSL), locale bound objects (like DateFormats).
The fact that you can diff two Configuration objects to know what changed is nice to perform fine grained invalidations.
On the bad side, broadcasting with a non conflated channel can introduce problems if a subscriber consumes elements slower than they are offered. There are multiple ways to tackle this problem, including outlawing "failed" offer calls (those which return false).
Here's the simplest approach, which silently fails in case of consumption slower than offering:
This could be helpful to invalidate anything that relies on latest config change.
Examples are most UI related stuff (like parts of a
Ui
in View DSL), locale bound objects (likeDateFormat
s).The fact that you can diff two
Configuration
objects to know what changed is nice to perform fine grained invalidations.On the bad side, broadcasting with a non conflated channel can introduce problems if a subscriber consumes elements slower than they are offered. There are multiple ways to tackle this problem, including outlawing "failed"
offer
calls (those which returnfalse
).Here's the simplest approach, which silently fails in case of consumption slower than offering:
The text was updated successfully, but these errors were encountered: