GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Change signature of RPCFuture.addCallback to allow lambdas as arguments · Issue #1732 · googleapis/google-cloud-java Closed Labels type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design. DescriptionHi, it's nice to have a callback mechanism on the latest pubsub client library, but it would be even better if the RPCFuture.addCallback supported functional interfaces instead of an interface with two methods to process errors and success. so if instead of addCallback(RpcFutureCallback) public void subscribe(Consumer success, Consumer<? super Throwable> error){ One could just invoke the subscribe with lambdas expressions. I know Consumer is Java 8 construct, but any functional interface with an interface like Foo{ void apply(T t) } would work Activity
MetadataMetadataAssigneesLabelstype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |