readLock<T> abstract method
Takes a read lock, without starting a transaction.
The lock only applies to a single SqliteConnection, and multiple connections may hold read locks at the same time.
In most cases, readTransaction should be used instead.
Implementation
Future<T> readLock<T>(Future<T> Function(SqliteReadContext tx) callback,
{Duration? lockTimeout, String? debugContext});