Comments (1)
That's too bad. I think you're right that there's nothing SuperEventBus can do here since we don't have enough type information. Dispatching objects to handlers that aren't expecting them would be pretty dangerous, so I think it's best to fail fast and not allow JSOs to be posted at all. The workaround would be to wrap the JSO in an event object of some sort. I've added the check and a warning in the docs, thanks for pointing this out.
from gwt-supereventbus.
Related Issues (10)
- Sources don't compile, did I forget to inherit a required module? HOT 5
- Exception handling HOT 2
- Is it still an experimental project? HOT 4
- Migrate to annotation processors HOT 3
- EventBus[L255] : only class literals may be used as arguments to gwt.create() HOT 1
- Could you add the latest version to maven? HOT 2
- Could supereverntbus be more super in future? HOT 6
- Supereventbus doesn't bind classes in parent modules HOT 1
- EventRegistration should include methods from superclasses HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-supereventbus.