langchain.js
    Preparing search index...
    • Type Parameters

      • StateType extends Record<string, unknown> = Record<string, unknown>
      • Bag extends {
            ConfigurableType?: Record<string, unknown>;
            CustomEventType?: unknown;
            InterruptType?: unknown;
            MetaType?: unknown;
            UpdateType?: unknown;
        } = BagTemplate

      Returns UseStreamContext<StateType, Bag>