Re: Experiences using event bus

2020-09-01 Thread Gordan Krešić
On 01. 09. 2020. 10:42, Jens wrote: But what I don't get is why you don't want to explicitly clean things up? If you rely on WeakRef or anything similar you depend on garbage collection, which isn't really great since you never know when GC will happen and behavior is different between browse

Re: Experiences using event bus

2020-09-01 Thread Jens
> If I'm looking at it correctly, it provides just syntactic sugar on top of > GWT's own EventBus, right? Thats true,´. > From what I can see, problem with "ghost" references in event bus which > would prevent subscribed objects from being garbage collected is still > there. > Right.

Re: Experiences using event bus

2020-09-01 Thread Gordan Krešić
On 31. 08. 2020. 23:06, lofid...@gmail.com wrote: My favorite for EventBus is this framework: https://github.com/google/gwteventbinder If I'm looking at it correctly, it provides just syntactic sugar on top of GWT's own EventBus, right? Benefits are obvious, but it looks like they are limite