-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use bun
as a task executor
#477
Comments
This is possible by running |
I think adding something to the docs saying something along the line of the following would be good 👍
|
I have a import { run } from "graphile-worker";
import preset from "./graphile.config";
async function main() {
const runner = await run({ preset });
await runner.promise;
}
main().catch((err) => {
console.error(err);
process.exit(1);
}); It works well, and cuts through a lot of the TypeScript packaging pain points. However, I am noticing memory leaks that I suspect have something to do with Bun. So, use at your own risk 😄 |
Feature description
Document or provide method to run graphile worker with Typescript tasks using bun
Motivating example
I use bun for a project, and would like to use it inside my tasks, but the instructions in the graphile worker docs only shows how to use
ts-node
with graphile worker (shown below)Supporting development
I...
The text was updated successfully, but these errors were encountered: