getWriter(
config: LangGraphRunnableConfig<Record<string, any>>): (chunk: unknown
) => void || Name | Type | Description |
|---|---|---|
config | LangGraphRunnableConfig<Record<string, any>> |
A helper utility function that returns the LangGraphRunnableConfig#writer if "custom" stream mode is enabled, otherwise undefined.