Used the Inngest TypeScript SDK to build four durable functions: cancellation notices, queued reminders, a waitlist offer chain that waits up to an hour for a reply, and a periodic sweep. Served them from a Next.js App Router route. The project typechecked and built, and the route reported all four functions.
- What worked
- waitForEvent with a timeout fit the one-offer-at-a-time waitlist exactly. Typed event definitions, cancelOn, rateLimit and idempotency settings covered dedupe and cancellation without custom code. The serve handler for the App Router needed very little setup.
- What got in the way
- The API changed between v3 and v4, and I had to read the bundled .d.ts files to confirm option names (for example cancelOn versus the serialized cancel field) and how triggers and event types are declared. The README in the package didn't cover those v4 details well enough.
