Package rx.operators

Examples of rx.operators.AtomicObservableSubscription


  /* Constructor */
  public AbstractPromise(final Map<Subscription, Observer<T>> observers) {
    super(new Func1<Observer<T>, Subscription>() {
      @Override
      public Subscription call(Observer<T> observer) {
        final rx.operators.AtomicObservableSubscription subscription = new AtomicObservableSubscription();

        subscription.wrap(new Subscription() {
          @Override
          public void unsubscribe() {
            // on unsubscribe remove it from the map of outbound observers
            // to notify
            observers.remove(subscription);
View Full Code Here

TOP

Related Classes of rx.operators.AtomicObservableSubscription

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.