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

Callback-based API #5

Closed
joshuawright11 opened this issue Jun 16, 2023 · 0 comments
Closed

Callback-based API #5

joshuawright11 opened this issue Jun 16, 2023 · 0 comments

Comments

@joshuawright11
Copy link
Owner

Some folks haven't upgraded to async yet so an option for a callback based API could be a useful addition.

The @API macro would just check to see if the function signature is async throws or if the last argument is a closure.

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