Skip to content
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

[Question] Support for promises? #6

Open
TheDogHusky opened this issue Feb 8, 2025 · 0 comments
Open

[Question] Support for promises? #6

TheDogHusky opened this issue Feb 8, 2025 · 0 comments

Comments

@TheDogHusky
Copy link

Hey!

I'm working on an express app.
I saw this project and decided to give it a go.
However, I saw that the terminate function only takes a callback and doesn't have support for Promises instead of a callback.

I can indeed easily work around this, by making a function that wraps terminate() in a Promise, but I'd like to know if someday we'll have official support for it here. (I can contribute for this)

Cheers,
Adam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant