writeLock<T> abstract method

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

Takes a global lock, without starting a transaction.

In most cases, writeTransaction should be used instead.

Implementation

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