• A helper utility function that returns the LangGraphRunnableConfig#writer if "custom" stream mode is enabled, otherwise undefined

    Returns undefined | (chunk: unknown) => void

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