@FunctionalInterface public interface PubSubFunction<T,R> extends CheckedFunction<T,R,PubSubException>
Function, but can throw a PubSubException on error.| Modifier and Type | Method and Description |
|---|---|
R |
apply(T input)
Returns an output based on the input, or throws
PubSubException on failure. |
R apply(T input) throws PubSubException
PubSubException on failure.apply in interface CheckedFunction<T,R,PubSubException>input - the input.PubSubException - thrown on error.Copyright © 2026. All rights reserved.