Why not implement async Task in the read and writes? e.g. InsertAsync() or FindByIdAsync()
BTW, love the package! 馃憤
Hi @pvanroos, I was planning to create v5 with only async methods call (useful to use ReadAsync from Stream) but I had a problem: locks works in threads (ReadWriteLockSlim) and has no support for async operations. To works with async locks needs another 3th party lib and v5 still no dependency.
https://github.com/rsdn/CodeJam/blob/master/CodeJam.Main/Threading/AsyncLock.cs
You may copy source code to your project.
hi @mbdavid any plan to support async methods?
BTW thanks for the great works
Hi @clement128,
Was not possible to implement in v5 because was pretty complex at the moment. But now, with v5 released It's on plans no v.5.5 (next "major" upgrade)
Here is an Aysnc wrapper for liteDb https://github.com/mlockett42/litedb-async
Most helpful comment
Hi @clement128,
Was not possible to implement in v5 because was pretty complex at the moment. But now, with v5 released It's on plans no v.5.5 (next "major" upgrade)