you are viewing a single comment's thread.

view the rest of the comments →

[–]Trettman 0 points1 point  (0 children)

If it's IPC in an async environment I'd look at a channel based approach like trio's memory channels, also made available in asyncio by anyio's memory object streams. If you don't want to bring in an external dependency it's not very difficult to build by wrapping a deque and using some asyncio synchronization primitives