コード例 #1
0
        public async Task Commit()
        {
            await AsyncDirectory.Move(transactionDir, commitDir).ConfigureAwait(false);

            committed = true;
        }
コード例 #2
0
        public async Task Commit(CancellationToken cancellationToken)
        {
            await AsyncDirectory.Move(transactionDir, commitDir, cancellationToken).ConfigureAwait(false);

            committed = true;
        }