public static interface CircuitBreaker.CompletionCallback extends BiFunction<Response,Throwable,Boolean>
If the apply method returns true it is considered a success, if false then a failure.
andThen, applyCopyright © 2021 Couchbase, Inc.. All rights reserved.