FAkka.FCell2
10.1.301
dotnet add package FAkka.FCell2 --version 10.1.301
NuGet\Install-Package FAkka.FCell2 -Version 10.1.301
<PackageReference Include="FAkka.FCell2" Version="10.1.301" />
<PackageVersion Include="FAkka.FCell2" Version="10.1.301" />
<PackageReference Include="FAkka.FCell2" />
paket add FAkka.FCell2 --version 10.1.301
#r "nuget: FAkka.FCell2, 10.1.301"
#:package FAkka.FCell2@10.1.301
#addin nuget:?package=FAkka.FCell2&version=10.1.301
#tool nuget:?package=FAkka.FCell2&version=10.1.301
FAkka.FCell2
Standalone fCell2<'T> key/value cell model extracted from fstring/PB2.fsx.
The original [<ProtoBuf.ProtoContract>] attribute is preserved on PersistedConcurrentSortedList.Type.fCell2<'T>.
FSI
#r "nuget: protobuf-net, 3.2.56"
#r @"G:\coldfar_py\sharftrade9\Libs5\KServer\FCell2\bin\net10.0\protobuf-net-fsharp.dll"
#r @"G:\coldfar_py\sharftrade9\Libs5\KServer\FCell2\bin\net10.0\FAkka.FCell2.dll"
open PersistedConcurrentSortedList.Type
let cell =
fCell2<string>.T(
Map.ofList
[ "topic", fCell2<string>.S "hello"
"score", fCell2<string>.D 9m ])
let bytes = FCell2Protobuf.toByteArray cell
let roundtrip = FCell2Protobuf.ofByteArray<string> bytes
Presentation
open FAkka.FCell2
open PersistedConcurrentSortedList.Type
let value: FCell2View<string, string, (string * string) list> =
FCell2View.TableView(
fCell2<string>.S "table-source",
fun _ -> [ [ "colA", "A1"; "colB", "B1" ] ])
Browser
Use FAkka.FCell2.WebSharper for browser-side WebSharper code. It compiles the same
FCell2.fs and FCell2Presentation.fs sources with the JS constant enabled.
The canonical .NET/protobuf package keeps D of decimal; the WebSharper package compiles
the JS branch where D is float.
open PersistedConcurrentSortedList.Type
open FAkka.FCell2
let tab = fCell2<string>.S "tab.chat"
let value =
fCell2<string>.T(
Map.ofList
[ "body", fCell2<string>.S "hello"
"score", fCell2<string>.D 12.34 ])
let keyText = FCell2Text.key tab
let valueText = value.toJsonString()
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- FAkka.ProtoBuf.FSharp (>= 10.1.301)
- FSharp.Core (>= 10.1.301)
- protobuf-net (>= 3.2.56)
- protobuf-net.Core (>= 3.2.56)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on FAkka.FCell2:
| Package | Downloads |
|---|---|
|
PersistedConcurrentSortedList
SortedList with persistency and threadsafty. |
|
|
PulseTrade.Comm.Spa
Small Suave + WebSharper SPA shell for key-set based chat, participant, set, and actor views. |
|
|
PulseTrade.Comm.GW
Durable facade package for Generic Gateway task-ticket, recovery, delivery, forwarding, and host adapter integration. |
GitHub repositories
This package is not used by any popular GitHub repositories.