pluggy icon indicating copy to clipboard operation
pluggy copied to clipboard

support async hook calls

Open RonnyPfannschmidt opened this issue 3 years ago • 6 comments

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

RonnyPfannschmidt avatar Aug 16 '21 13:08 RonnyPfannschmidt

any updates for this?

wangxin688 avatar Jul 18 '23 07:07 wangxin688

Your question is the first one in a while, congratulations

RonnyPfannschmidt avatar Jul 18 '23 08:07 RonnyPfannschmidt

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.

wangxin688 avatar Jul 19 '23 07:07 wangxin688

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

RonnyPfannschmidt avatar Jul 19 '23 08:07 RonnyPfannschmidt

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

UltimateLobster avatar Nov 10 '23 12:11 UltimateLobster