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
{{ message }}
This repository was archived by the owner on Apr 5, 2025. It is now read-only.
An unhandled exception of type 'System.AggregateException' occurred in FSharp.Core.dll
File EventStore.fs line# 58 gives the above error
let subscribe (projection: Event -> unit) (getStore: Async) =
async {
let! store = getStore
let credential = SystemData.UserCredentials("admin", "changeit")
do! Async.AwaitTask
<| store.SubscribeToAllAsync(true, (fun s e -> deserialize e |> Option.iter projection), userCredentials = credential) |> Async.Ignore
return store }
|> Async.RunSynchronously