Uses of Interface
com.google.genkit.core.ActionDef.StreamingFunction
Packages that use ActionDef.StreamingFunction
-
Uses of ActionDef.StreamingFunction in com.google.genkit.core
Methods in com.google.genkit.core with parameters of type ActionDef.StreamingFunctionModifier and TypeMethodDescriptionstatic <I,O, S> ActionDef <I, O, S> ActionDef.createStreaming(String name, ActionType type, Map<String, Object> metadata, Map<String, Object> inputSchema, Class<I> inputClass, Class<O> outputClass, ActionDef.StreamingFunction<I, O, S> fn) Creates a streaming action.static <I,O, S> Flow <I, O, S> Flow.defineStreaming(Registry registry, String name, Class<I> inputClass, Class<O> outputClass, ActionDef.StreamingFunction<I, O, S> fn) Defines a new streaming flow and registers it.Constructors in com.google.genkit.core with parameters of type ActionDef.StreamingFunction