Genkit JS API reference
    Preparing search index...

    Type Alias FlowFn<I, O, S>

    FlowFn: (
        input: z.TypeOf<I>,
        streamingCallback: FlowSideChannel<z.TypeOf<S>>,
    ) => Promise<z.TypeOf<O>> | z.TypeOf<O>

    Function to be executed in the flow.

    Type Parameters

    Type Declaration