MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / sync

Function sync

apps/cloud/src/auth/workos-events-sync.node.test.ts:908–911  ·  view source on GitHub ↗
(
    workos: Layer.Layer<WorkOSClient>,
  )

Source from the content-addressed store, hash-verified

906 );
907
908 const sync = (
909 workos: Layer.Layer<WorkOSClient>,
910 ): Effect.Effect<WorkOsEventsSyncReport, unknown, Services> =>
911 syncWorkOsEvents().pipe(Effect.provide(workos));
912
913 it("pages from the persisted cursor, applies every event, and commits the last id of each page", async () => {
914 const org = freshId("org");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected