sqlite_async.dart icon indicating copy to clipboard operation
sqlite_async.dart copied to clipboard

Deprecate global mutex

Open rkistner opened this issue 10 months ago • 0 comments

Builds on #34.

Deprecates our global per-database mutex, instead relying on SQLite's built-in locking mechanism (mark as deprecated, not removed).

To avoid breaking changes, new lock and transaction methods are added, which avoids our global mutex, as well as simplifying the APIs a little (most of the time only writeTransaction was used).

rkistner avatar Apr 02 '24 14:04 rkistner