Genkit JS API reference
    Preparing search index...

    Interface FetchHandlerOptions<C, I>

    Options for a fetch handler (context provider, stream manager).

    interface FetchHandlerOptions<
        C extends ActionContext = ActionContext,
        I extends z.ZodTypeAny = z.ZodTypeAny,
    > {
        contextProvider?: ContextProvider<C, I>;
        streamManager?: StreamManager;
    }

    Type Parameters

    Index

    Properties

    contextProvider?: ContextProvider<C, I>
    streamManager?: StreamManager