readLock<T> abstract method

  1. @override
Future<T> readLock<T>(
  1. Future<T> callback(
    1. SqliteReadContext tx
    ), {
  2. String? debugContext,
  3. Duration? lockTimeout,
})
inherited

Takes a read lock, without starting a transaction.

In most cases, readTransaction should be used instead.

Implementation

@override
Future<T> readLock<T>(Future<T> Function(SqliteReadContext tx) callback,
    {String? debugContext, Duration? lockTimeout});