import { RealtimeAdapter as FrfAdapter } from "@prometheusags/frf-entity-management";
import { getRealtimeManager, createFlintAdapter } from "@prometheus-ags/prometheus-entity-management";
const flint = new FrfAdapter(spineClient);
const adapter = createFlintAdapter({ client: flint, channelId: "tenant-1", consumerId: "web-1" });
getRealtimeManager().register(adapter);
Build a RealtimeAdapter backed by the Flint Realtime Fabric.
The consumer owns the Flint client (constructed from
@prometheusags/frf-sdk/frf-entity-management); this adapter only orchestrates the stream.