You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,8 @@ The `Unreleased` section name is replaced by the expected version of next releas
42
42
-`Equinox.Decider`: Replace `maxAttempts` with a default policy and an optional argument on `Transact*` APIs [#337](https://github.com/jet/equinox/pull/337)
43
43
-`Equinox.Decider`: rename `Decider.TransactAsync`, `Decider.TransactExAsync` to `Transact`[#314](https://github.com/jet/equinox/pull/314)
44
44
-`Equinox.Core.AsyncBatchingGate`: renamed to `Batching.Batcher`[#390](https://github.com/jet/equinox/pull/390)
45
-
-`Equinox.Core`: Now a free-standing library that a) does not depend on `Equinox` b) is not depended on by the Stores (though `CosmosStore` inlines `AsyncCacheCell`) [#420](https://github.com/jet/equinox/pull/420)
45
+
-`Equinox.Core.AsyncCacheCell`: renamed to `TaskCell`[#433](https://github.com/jet/equinox/pull/433)
46
+
-`Equinox.Core`: Now a free-standing library that a) does not depend on `Equinox` b) is not depended on by the Stores (though `CosmosStore` inlines `TaskCell`) [#420](https://github.com/jet/equinox/pull/420)
46
47
- Stores: Change Event Body types, requiring `FsCodec` v `3.0.0`, with [`EventBody` types switching from `byte[]` to `ReadOnlyMemory<byte>` and/or `JsonElement` see FsCodec#75](https://github.com/jet/FsCodec/pull/75)[#323](https://github.com/jet/equinox/pull/323)
47
48
- Stores: `*Category.Resolve`: Replace `Resolve(sn, ?ResolveOption, ?requestContext)` with `?load = LoadOption` parameter on all `Transact` and `Query` methods, and `Decider.forStream`/`Decider.forRequest` to convey request context [#308](https://github.com/jet/equinox/pull/308)
-`Equinox.MemoryStore`[](https://www.nuget.org/packages/Equinox.MemoryStore/): In-memory store for integration testing/performance base-lining/providing out-of-the-box zero dependency storage for examples. ([depends](https://www.fuget.org/packages/Equinox.MemoryStore) on `Equinox`)
173
173
-`Equinox.CosmosStore`[](https://www.nuget.org/packages/Equinox.CosmosStore/): Azure CosmosDB Adapter with integrated 'unfolds' feature, facilitating optimal read performance in terms of latency and RU costs, instrumented to meet Jet's production monitoring requirements. ([depends](https://www.fuget.org/packages/Equinox.CosmosStore) on `Equinox`, `Equinox`, `Microsoft.Azure.Cosmos` >= `3.27`, `System.Text.Json`, `FSharp.Control.TaskSeq`)
174
174
-`Equinox.CosmosStore.Prometheus`[](https://www.nuget.org/packages/Equinox.CosmosStore.Prometheus/): Integration package providing a `Serilog.Core.ILogEventSink` that extracts detailed metrics information attached to the `LogEvent`s and feeds them to the `prometheus-net`'s `Prometheus.Metrics` static instance. ([depends](https://www.fuget.org/packages/Equinox.CosmosStore.Prometheus) on `Equinox.CosmosStore`, `prometheus-net >= 3.6.0`)
let mutablecell=AsyncLazy<struct(int64 *(struct(StreamToken * 'state)))>.Empty
18
+
let mutablecell=LazyTask<struct(int64 *(struct(StreamToken * 'state)))>.Empty
19
19
static memberCreateEmpty()=
20
20
new CacheEntry<'state>(Unchecked.defaultof<StreamToken>, Unchecked.defaultof<'state>,0L)// 0 => Null cache entry signifies token and state both invalid
21
21
/// Attempt to retrieve the cached state, and associated token (ValueNone if this is a placeholder entry that's yet to complete its first Load operation)
@@ -31,7 +31,7 @@ type private CacheEntry<'state>(initialToken: StreamToken, initialState: 'state,
31
31
if verifiedTimestamp < timestamp then// Don't count attempts to overwrite with stale state as verification
32
32
verifiedTimestamp <- timestamp
33
33
/// Coordinates having a max of one in-flight request across all staleness-tolerant loads at all times
34
-
// Follows high level flow of AsyncCacheCell.Await - read the comments there, and the AsyncCacheCell tests first!
34
+
// Follows high level flow of TaskCell.Await - read the comments there, and the TaskCell tests first!
0 commit comments