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

support async hook calls #320

Open
6 tasks
RonnyPfannschmidt opened this issue Aug 16, 2021 · 6 comments
Open
6 tasks

support async hook calls #320

RonnyPfannschmidt opened this issue Aug 16, 2021 · 6 comments

Comments

@RonnyPfannschmidt
Copy link
Member

follow-up/spin out to #151

it should be possible to have a a await transparent hook caller interface that allows to await hooks

optionally integrated with https://greenback.readthedocs.io/en/latest/ so that accidentally wrongly coloured hooks can be worked around

  • basic await transparency
  • apis/entrypoints for async hook calling from a normal hook manager
  • define what happens when a async hook call happens
  • define how sync/async hooks interact (do we need async first internals)
  • consider https://simonwillison.net/2020/Sep/2/await-me-maybe/
  • write up a guide on hook colors
@wangxin688
Copy link

any updates for this?

@RonnyPfannschmidt
Copy link
Member Author

Your question is the first one in a while, congratulations

@wangxin688
Copy link

Your question is the first one in a while, congratulations

May I ask that if this feature is under developing? or just in future's plan. I'm considering to choose the plugin framework.

@RonnyPfannschmidt
Copy link
Member Author

It's currently on hold due to time constraints, initial Experiments are done, Implementation hopefully can continue after I release setuptools-scm 8 , the Wish is to Land async pluggy this year, but the reality is that it may easily take until next year

@UltimateLobster
Copy link

I've noticed setuptools_scm 8 is out. Does that mean development can continue on this? 😋

@datajoely
Copy link

This would also be a big help to us

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

4 participants