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

feat: directly call app code from hooks #36

Open
ndrewh opened this issue Aug 4, 2024 · 1 comment
Open

feat: directly call app code from hooks #36

ndrewh opened this issue Aug 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ndrewh
Copy link
Owner

ndrewh commented Aug 4, 2024

Unlike the run_until APIs, hooks run in the same thread as the application and therefore have better performance characteristics (no futex!). It would be nice to be able to use the same p.callable(...) API to construct a callable function that works from hooks.

@ndrewh ndrewh added the enhancement New feature or request label Aug 4, 2024
@ndrewh
Copy link
Owner Author

ndrewh commented Aug 4, 2024

This is an extension of #2

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

No branches or pull requests

1 participant