ghapi icon indicating copy to clipboard operation
ghapi copied to clipboard

Async / await support

Open AlexandreODelisle opened this issue 3 years ago • 2 comments

Question,

I haven't seen any support for native aiohttp calls .

Is it something that could be implemented later in time?

Thanks,

AlexandreODelisle avatar Sep 17 '21 18:09 AlexandreODelisle

@AlexandreODelisle I think it would be really problematic to implement this with how GitHub rate limits. It would probably just be easier to offload the results to a queue on another thread and have some code consume that.

dtaivpp avatar Oct 11 '21 15:10 dtaivpp

The lack of async (specifically trio) support has so far stopped me investigating ghapi further.

For managing rate limits aiometer could help: https://github.com/florimondmanca/aiometer

dhirschfeld avatar Aug 11 '22 22:08 dhirschfeld