inngest
![Twitter Follow](https://img.shields.io/twitter/follow/inngest?style=social)
Build, test, and deploy code that runs in response to events or on a schedule right in your own codebase.
š Have a question or feature request? Join our Discord!
npm install inngest
import { Inngest } from "inngest";
const inngest = new Inngest({ name: "My App" });
inngest.send("app/user.created", { data: { id: 123 } });
import { createFunction } from "inngest";
export default createFunction(
"Send welcome email",
"app/user.created",
({ event }) => {
sendEmailTo(event.data.id, "Welcome!");
}
);
Contributing
Clone the repository, then:
yarn
yarn dev
We use Volta to manage Node/Yarn versions.
When making a pull request, make sure to commit the changed etc/inngest.api.md
file; this is a generated types/docs file that will highlight changes to the exposed API.