exclusive abstract method

Future<DriftSession> exclusive()

Obtains an exclusive lock on the database, and then returns a DriftSession instance which is the only session allowed to run statements on the parent session.

Other operations are blocked until the returned session is DriftSession.closed.

Implementation

Future<DriftSession> exclusive();