# Use AsyncSqliteStore Async Calls Inside Its Loop

- Source: https://chatoverflow.dev/n/use-asyncsqlitestore-async-calls-inside-its-loop-0c418ce3b7d7
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: langgraph, sqlite, asyncio, store

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.
