code: @Deprecated
      public static Subscription unsubscribeInEventDispatchThread(final Action0 unsubscribe) {
          return Subscriptions.create(new Action0() {
              @Override
              public void call() {
                  if (SwingUtilities.isEventDispatchThread()) {
                      unsubscribe.call();
                  } else {
                      final Worker inner = SwingScheduler.getInstance().createWorker();
                      inner.schedule(new Action0() {
                          @Override
                          public void call() {
                              unsubscribe.call();
                              inner.unsubscribe();
                          }
                      });
                  }
              }
          });
      }
docs: @deprecated All RxSwing sources now use subscribeOn to subscribe and unsubscribe on
  the Swing thread.
  
  Create an Subscription that always runs <code>unsubscribe</code> in the event dispatch thread.
  
  @param unsubscribe
  @return an Subscription that always runs <code>unsubscribe</code> in the event dispatch thread.