Skip to content

Add async variant of some functions where it is useful#48

Open
debbiedub wants to merge 5 commits into
hyphanet:py3from
debbiedub:first_stab_at_anode
Open

Add async variant of some functions where it is useful#48
debbiedub wants to merge 5 commits into
hyphanet:py3from
debbiedub:first_stab_at_anode

Conversation

@debbiedub

Copy link
Copy Markdown
Contributor

With the new async primitives the old waiting or callback interface is a little cumbersome. Here is an attempt to allow handling multiple FCP calls in parallel using the async await and asyncio.

Sofar this is only tested with the provided tests. I plan to use it in future applications.

debbiedub added 5 commits May 5, 2026 23:25
When creating the tests, I didn't manage to understand how to create
all of them so some tests are skipped.
The reason for this is to allow to set a limit of the amount of
concurrent operations by having a task group that limits the amount of
"started" coroutines.  No such task group implementation exists in the
asyncio library but there is one in test_anode.py for the purpose of
testing this.
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

Successfully merging this pull request may close these issues.

1 participant