mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-17 21:25:46 +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