mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-24 16:42:24 +02:00
- this was not possible in async where all done callbacks are called in next tick - in sync case this would manifest as the first task done callback seeing counter == 1 and thus setting event - the fix is to unset the event whenever a task is scheduled