Skip to content

support async hook calls #320

Open
Open

Description

@RonnyPfannschmidt

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

Activity

  1. wangxin688 commented on Jul 18, 2023

    @wangxin688

    any updates for this?

  2. RonnyPfannschmidt commented on Jul 18, 2023

    @RonnyPfannschmidt
    MemberAuthor

    Your question is the first one in a while, congratulations

  3. wangxin688 commented on Jul 19, 2023

    @wangxin688

    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.

  4. RonnyPfannschmidt commented on Jul 19, 2023

    @RonnyPfannschmidt
    MemberAuthor

    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

  5. UltimateLobster commented on Nov 10, 2023

    @UltimateLobster

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

  6. datajoely commented on May 30, 2024

    @datajoely

    This would also be a big help to us

  7. oscarnevarezleal commented on Sep 12, 2025

    @oscarnevarezleal

    I'd love to have this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions