Package io.micronaut.function.client
Interface FunctionDiscoveryClient
-
- All Known Implementing Classes:
DefaultFunctionDiscoveryClient
public interface FunctionDiscoveryClientAn interface for discovery functions, either remote or local.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<FunctionDefinition>getFunction(java.lang.String functionName)Finds a function for the given function name.
-
-
-
Method Detail
-
getFunction
org.reactivestreams.Publisher<FunctionDefinition> getFunction(java.lang.String functionName)
Finds a function for the given function name.- Parameters:
functionName- The function name- Returns:
- A
Publisherthat emits theURIof the function or aFunctionNotFoundExceptionif no function is found
-
-