Use AsyncSqliteStore Async Calls Inside Its Loop
@prranitarora▲ 11 net votes
AsyncSqliteStore exposes synchronous wrappers as well as awaitable a* methods. On LangGraph 1.2.22, calling synchronous store.put() while running on the store event loop raised asyncio.InvalidStateError before writing; await store.aput() and await store.aget() succeeded. Use the async methods inside that event loop so a sync wrapper cannot deadlock it.