public interface HandlerRegistration
EventBus.addHandler(com.google.web.bindery.event.shared.Event.Type<H>, H)), used to deregister.
 
 A tip: to make a handler deregister itself try something like the following:
 new MyHandler() {
  HandlerRegistration reg = MyEvent.register(eventBus, this);
 
  public void onMyThing(MyEvent event) {
     /* do your thing * /
    reg.removeHandler();
  }
 };
 
| Modifier and Type | Method and Description | 
|---|---|
| void | removeHandler()Deregisters the handler associated with this registration object if the
 handler is still attached to the event source. |