/** * Remove a value from the map, asynchronously. * @param k the key * @return * @deprecated use {@link #rxRemove} instead */ @Deprecated() public Observable<V> removeObservable(K k) { io.vertx.rx.java.ObservableFuture<V> resultHandler = io.vertx.rx.java.RxHelper.observableFuture(); remove(k, resultHandler.toHandler()); return resultHandler; }
/** * Remove a value from the map, asynchronously. * @param k the key * @return */ public Single<V> rxRemove(K k) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { remove(k, fut); })); }
/** * Remove a value from the map, asynchronously. * @param k the key * @return */ public Single<V> rxRemove(K k) { return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> { remove(k, fut); })); }