Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

unhandled AggregateException #12

@MusaJ

Description

@MusaJ

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions