Method AcquireSchemaLockAsync(CancellationToken)

Assembly: redb.Core.dll

Takes the schema lock, waiting while another process holds it: one attempt every half second, a line in the log
when the wait starts and every thirty seconds after,
past . The work done under it asks its own precondition
again: the process that held the lock has usually done it already. Disposing releases the lock.

protected Task<IAsyncDisposable> AcquireSchemaLockAsync(CancellationToken cancellationToken = default)