mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-22 07:32:25 +02:00
Separate EventLog (sync, __iter__) and AsyncEventLog (async, __aiter__) with a shared _EventLogBase for the producer API. Thread is_async through StreamMux, StreamChannel, and transformers so the right log type is created based on whether stream() or astream() is called. Prevents accidentally mixing sync and async iteration on the same log.