Interface RequestSupplier<T>
- Type Parameters:
T- The type of result produced by this supplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Request Supplier Interface
A functional interface that represents a supplier of requests to the Dify API.
This interface is used to defer or lazily execute API requests and handle
generic request execution in a functional programming style.
- Since:
- 2025/4/09 15:44
- Version:
- 0.8.0
- Author:
- yanghq
-
Method Summary
-
Method Details
-
get
T get()Gets a result from this supplier- Returns:
- A result of type T
-