langchain.js
    Preparing search index...
    • A helper utility function that returns the LangGraphRunnableConfig#writer if "custom" stream mode is enabled, otherwise undefined.

      Parameters

      Returns undefined | ((chunk: unknown) => void)

      a reference to the LangGraphRunnableConfig#writer if "custom" stream mode is enabled, otherwise undefined