PrivateEventSourcingStore
The PrivateEventSourcingStore is a typescript class that contains async signals, which you can watch to get reactive updates in your elements.
js
import { PrivateEventSourcingStore, PrivateEventSourcingClient } from "@darksoil-studio/private-event-sourcing-zome";
const store = new PrivateEventSourcingStore(new PrivateEventSourcingClient(appClient, 'my-role-name'));Learn how to setup the
AppClientobject here.
Learn more about the stores and how to integrate them in different frameworks here.