(fn: () => Promise<A>)
| 54 | // 404 is the deterministic "gone" the replay acts on; every other failure |
| 55 | // fails the pass, as in the Worker (`src/auth/workos-events-sync.ts`). |
| 56 | const fromPromise = <A>(fn: () => Promise<A>) => |
| 57 | Effect.tryPromise({ try: fn, catch: (cause) => cause }); |
| 58 | |
| 59 | const isNotFound = (cause: unknown): boolean => |
| 60 | typeof cause === "object" && |
no outgoing calls
no test coverage detected