diff --git a/docs/_docs/40-fasterlog-basics.md b/docs/_docs/40-fasterlog-basics.md index 60a557c3b..6f4996e1a 100644 --- a/docs/_docs/40-fasterlog-basics.md +++ b/docs/_docs/40-fasterlog-basics.md @@ -161,7 +161,7 @@ using (var iter = log.Scan(0, long.MaxValue, name: "foo", recover: false)) By default, scan allows iteration over log entries that are committed (persisted on an I/O device) only, awaiting (in case of `IAsyncEnumerable`) or returning `false` (in case of `GetNext`) if we have returned the last committed entry. This is a desired behaviour in most cases, but sometimes consumers do not care whether the data -is commited or not, but just wish to read and process log entries as soon as possible, similar to a regular Channel. +is committed or not, but just wish to read and process log entries as soon as possible, similar to a regular Channel. You can allow scans to proceed and read uncommitted data by setting `scanUncommitted` to `true`, as follows: @@ -337,7 +337,7 @@ async IAsyncEnumerable<(IMemoryOwner, int entryLength, long currentAddress async ValueTask<(byte[], int)> ReadAsync(long address, int estimatedLength = 0) -// Refreshing uncommited entries +// Refreshing uncommitted entries void RefreshUncommitted(bool spinWait = false)