Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Creates and manages durable Inngest background functions, multi-step workflows, and scheduled tasks in TypeScript projects.
32% 95%+64 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 7 of 22 without it.
3 of 3 safety checks passed
Not used yet
This skill defines the standards for building durable, multi-step workflows using Inngest.
NO setTimeout / setInterval:
await new Promise(r => setTimeout(r, 1000))await step.sleep("wait-1s", "1s")NO Side Effects Outside Steps:
step.run().Deterministic Steps:
Return Data from Steps:
let userId; await step.run(..., () => { userId = ... })const userId = await step.run(..., () => { return ... })Wrap all logic in steps to ensure retriability and resumability.
export const processOrder = inngest.createFunction(
{ id: "process-order" },
{ event: "shop/order.created" },
async ({ event, step }) => {
// 1. Step: Validate (Retriable)
const user = await step.run("get-user", async () => {
return await db.users.findById(event.data.userId);
});
// 2. Step: Sleep (Durable pause)
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.