2 ms·
I wrote a little task module that does precisely that and provides you with a go() function and "channels": https://github.com/rcarmo/python-utils/blob/master/
by rcarmo 10y ago
I wrote a little task module that does precisely that and provides you with a go() function and "channels":
https://github.com/rcarmo/python-utils/blob/master/taskkit.py https://github.com/rcarmo/python-utils/blob/master/taskkit.p...
Obviously, it wasn't amazingly performant. But it did help a lot for doing concurrent stuff, and I've been pondering re-doing it for asyncio.