RxJava



rx.subscriptions
Class SwingSubscriptions

java.lang.Object
  extended by rx.subscriptions.SwingSubscriptions

public final class SwingSubscriptions
extends java.lang.Object


Method Summary
static rx.Subscription unsubscribeInEventDispatchThread(rx.functions.Action0 unsubscribe)
          Create an Subscription that always runs unsubscribe in the event dispatch thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

unsubscribeInEventDispatchThread

public static rx.Subscription unsubscribeInEventDispatchThread(rx.functions.Action0 unsubscribe)
Create an Subscription that always runs unsubscribe in the event dispatch thread.

Parameters:
unsubscribe -
Returns:
an Subscription that always runs unsubscribe in the event dispatch thread.