MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / drain-workos-events.ts

File drain-workos-events.ts

apps/cloud/scripts/drain-workos-events.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// ---------------------------------------------------------------------------
2// Out-of-band reconciler run: replay the WorkOS Events API into the
3// membership mirror from the persisted cursor until the stream is drained,
4// over a plain postgres.js connection under bun — the SAME replay the

Callers

nothing calls this directly

Calls 8

makeUserStoreFunction · 0.90
makeWorkOsMirrorStoreFunction · 0.90
replayWorkOsEventsFunction · 0.90
errorMethod · 0.80
logMethod · 0.80
endMethod · 0.80
fromPromiseFunction · 0.70
noneWhenGoneFunction · 0.70

Tested by

no test coverage detected