Package io.micronaut.function.client
Interface FunctionDiscoveryClient
- All Known Implementing Classes:
DefaultFunctionDiscoveryClient
public interface FunctionDiscoveryClient
An interface for discovery functions, either remote or local.
- Since:
- 1.0
- Author:
- graemerocher
-
Method Summary
Modifier and TypeMethodDescriptiongetFunction
(String functionName) Finds a function for the given function name.
-
Method Details
-
getFunction
Finds a function for the given function name.- Parameters:
functionName
- The function name- Returns:
- A
Publisher
that emits theURI
of the function or aFunctionNotFoundException
if no function is found
-