ClientWorkDbLockSync.withWaitingMs constructor
ClientWorkDbLockSync.withWaitingMs(
- IWorkFileSystem workDbInternal, {
- required int waitingMs,
- int? maxRecordsPerCollection,
Creates a ClientWorkDbLockSync with custom stale lock detection timeout.
Implementation
ClientWorkDbLockSync.withWaitingMs(
IWorkFileSystem workDbInternal, {
required int waitingMs,
int? maxRecordsPerCollection,
}) : _lockManagerSync = LockManagerSync(
workDbInternal as IWorkFileSystemSync,
waitingMs,
),
super.withWaitingMs(workDbInternal, waitingMs: waitingMs, maxRecordsPerCollection: maxRecordsPerCollection);